elasticai.creator.nn.fixed_point.two_complement_fixed_point_config
#
Module Contents#
Classes#
Data#
API#
- elasticai.creator.nn.fixed_point.two_complement_fixed_point_config.T#
‘TypeVar(…)’
- class elasticai.creator.nn.fixed_point.two_complement_fixed_point_config.ConvertableToFixedPointValues[source]#
Bases:
typing.Protocol
[elasticai.creator.nn.fixed_point.two_complement_fixed_point_config.T
]- __gt__(other: Union[int, float, elasticai.creator.nn.fixed_point.two_complement_fixed_point_config.T]) elasticai.creator.nn.fixed_point.two_complement_fixed_point_config.T [source]#
- __lt__(other: Union[int, float, elasticai.creator.nn.fixed_point.two_complement_fixed_point_config.T]) elasticai.creator.nn.fixed_point.two_complement_fixed_point_config.T [source]#
- __or__(other: elasticai.creator.nn.fixed_point.two_complement_fixed_point_config.T) elasticai.creator.nn.fixed_point.two_complement_fixed_point_config.T [source]#
- class elasticai.creator.nn.fixed_point.two_complement_fixed_point_config.FixedPointConfig[source]#
- total_bits: int#
None
- frac_bits: int#
None
- property minimum_as_integer: int#
- property maximum_as_integer: int#
- property minimum_as_rational: float#
- property maximum_as_rational: float#
- integer_out_of_bounds(number: elasticai.creator.nn.fixed_point.two_complement_fixed_point_config.T) elasticai.creator.nn.fixed_point.two_complement_fixed_point_config.T [source]#
- rational_out_of_bounds(number: elasticai.creator.nn.fixed_point.two_complement_fixed_point_config.T) elasticai.creator.nn.fixed_point.two_complement_fixed_point_config.T [source]#