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