mlx.core.finfo

mlx.core.finfo#

class finfo(*args, **kwargs)#

Get information on floating-point types.

__init__(self, arg: Dtype, /) None#

Methods

__init__(self, arg, /)

Attributes

bits

The number of bits occupied by the type.

dtype

The Dtype.

eps

The difference between 1.0 and the next smallest representable number larger than 1.0.

max

The largest representable number.

min

The smallest representable number.

smallest_normal

The smallest positive normal number.