mlx_compile function

  1. @Native<Int Function(Pointer<mlx_closure>, mlx_closure, Bool)>(ffi.Pointer<mlx_closure>, mlx_closure, ffi.Bool)>()
int mlx_compile(
  1. Pointer<mlx_closure> res,
  2. mlx_closure fun,
  3. bool shapeless
)

Implementation

@ffi.Native<ffi.Int Function(ffi.Pointer<mlx_closure>, mlx_closure, ffi.Bool)>()
external int mlx_compile(
  ffi.Pointer<mlx_closure> res,
  mlx_closure fun,
  bool shapeless,
);