mlx_full function

int mlx_full(
  1. Pointer<mlx_array> res,
  2. Pointer<Int> shape,
  3. int shape_num,
  4. mlx_array vals,
  5. mlx_dtype_ dtype,
  6. mlx_stream s,
)

Implementation

int mlx_full(
  ffi.Pointer<mlx_array> res,
  ffi.Pointer<ffi.Int> shape,
  int shape_num,
  mlx_array vals,
  mlx_dtype_ dtype,
  mlx_stream s,
) => _mlx_full(res, shape, shape_num, vals, dtype.value, s);