is_floating_point ¶ is_floating_point(dtype: Dtype) -> bool Source code in mlx_graphs/datasets/utils/io.py 6 7 8 9def is_floating_point(dtype: mx.Dtype) -> bool: if dtype in [mx.float16, mx.float32, mx.bfloat16]: return True return False from mlx_graphs.datasets.utils import is_floating_point · mlx_graphs/datasets/utils/io.py