mlx_softmax function
Implementation
@ffi.Native<
ffi.Int Function(ffi.Pointer<mlx_array>, mlx_array, ffi.Bool, mlx_stream)
>()
external int mlx_softmax(
ffi.Pointer<mlx_array> res,
mlx_array a,
bool precise,
mlx_stream s,
);
@ffi.Native<
ffi.Int Function(ffi.Pointer<mlx_array>, mlx_array, ffi.Bool, mlx_stream)
>()
external int mlx_softmax(
ffi.Pointer<mlx_array> res,
mlx_array a,
bool precise,
mlx_stream s,
);