Deeploy.CommonExtensions.DataTypes.minimalFloatType
- Deeploy.CommonExtensions.DataTypes.minimalFloatType(value: float | Iterable[float] | ndarray[Any, dtype[_ScalarType_co]]) Type[FloatImmediate]
Returns the minimal float type that can represent all values in the given list.
- Parameters:
value (Union[float, Iterable[float], npt.NDArray]) – The list of float values to analyze.
- Returns:
The minimal float type that can represent all values.
- Return type:
Type[FloatImmediate]