mlx_from_fp8 function

int mlx_from_fp8(
  1. Pointer<mlx_array> res,
  2. mlx_array x,
  3. mlx_dtype_ dtype,
  4. mlx_stream s,
)

Implementation

int mlx_from_fp8(
  ffi.Pointer<mlx_array> res,
  mlx_array x,
  mlx_dtype_ dtype,
  mlx_stream s,
) => _mlx_from_fp8(res, x, dtype.value, s);