mlx_array_shape function

  1. @Native<Pointer<Int> Function(mlx_array)>(mlx_array)>()
Pointer<Int> mlx_array_shape(
  1. mlx_array arr
)

The shape of the array. Returns: a pointer to the sizes of each dimension.

Implementation

@ffi.Native<ffi.Pointer<ffi.Int> Function(mlx_array)>()
external ffi.Pointer<ffi.Int> mlx_array_shape(mlx_array arr);