mlx_astype function
Implementation
int mlx_astype(
ffi.Pointer<mlx_array> res,
mlx_array a,
mlx_dtype_ dtype,
mlx_stream s,
) => _mlx_astype(res, a, dtype.value, s);
int mlx_astype(
ffi.Pointer<mlx_array> res,
mlx_array a,
mlx_dtype_ dtype,
mlx_stream s,
) => _mlx_astype(res, a, dtype.value, s);