mlx_random_normal_broadcast function

int mlx_random_normal_broadcast(
  1. Pointer<mlx_array> res,
  2. Pointer<Int> shape,
  3. int shape_num,
  4. mlx_dtype_ dtype,
  5. mlx_array loc,
  6. mlx_array scale,
  7. mlx_array key,
  8. mlx_stream s,
)

Implementation

int mlx_random_normal_broadcast(
  ffi.Pointer<mlx_array> res,
  ffi.Pointer<ffi.Int> shape,
  int shape_num,
  mlx_dtype_ dtype,
  mlx_array loc,
  mlx_array scale,
  mlx_array key,
  mlx_stream s,
) => _mlx_random_normal_broadcast(
  res,
  shape,
  shape_num,
  dtype.value,
  loc,
  scale,
  key,
  s,
);