mlx.core.finfo#
- class finfo(*args, **kwargs)#
取得浮點數型別資訊。
方法
__init__(self, arg, /)Attributes
bitsThe number of bits occupied by the type.
dtypeThe
Dtype.epsThe difference between 1.0 and the next smallest representable number larger than 1.0.
maxThe largest representable number.
minThe smallest representable number.
smallest_normalThe smallest positive normal number.