mlx_random_laplace function
int
mlx_random_laplace(
- Pointer<
mlx_array> res, - Pointer<
Int> shape, - int shape_num,
- mlx_dtype_ dtype,
- double loc,
- double scale,
- mlx_array key,
- mlx_stream s,
Implementation
int mlx_random_laplace(
ffi.Pointer<mlx_array> res,
ffi.Pointer<ffi.Int> shape,
int shape_num,
mlx_dtype_ dtype,
double loc,
double scale,
mlx_array key,
mlx_stream s,
) =>
_mlx_random_laplace(res, shape, shape_num, dtype.value, loc, scale, key, s);