mlx_linspace function
int
mlx_linspace(
- Pointer<
mlx_array> res, - double start,
- double stop,
- int num,
- mlx_dtype_ dtype,
- mlx_stream s,
Implementation
int mlx_linspace(
ffi.Pointer<mlx_array> res,
double start,
double stop,
int num,
mlx_dtype_ dtype,
mlx_stream s,
) => _mlx_linspace(res, start, stop, num, dtype.value, s);