mlx_closure_value_and_grad_apply function
- @Native<Int Function(Pointer<
mlx_vector_array> , Pointer<mlx_vector_array> , mlx_closure_value_and_grad, mlx_vector_array)>(ffi.Pointer<mlx_vector_array>, ffi.Pointer<mlx_vector_array>, mlx_closure_value_and_grad, mlx_vector_array)>()
- Pointer<
mlx_vector_array> res_0, - Pointer<
mlx_vector_array> res_1, - mlx_closure_value_and_grad cls,
- mlx_vector_array input,
Implementation
@ffi.Native<
ffi.Int Function(
ffi.Pointer<mlx_vector_array>,
ffi.Pointer<mlx_vector_array>,
mlx_closure_value_and_grad,
mlx_vector_array,
)
>()
external int mlx_closure_value_and_grad_apply(
ffi.Pointer<mlx_vector_array> res_0,
ffi.Pointer<mlx_vector_array> res_1,
mlx_closure_value_and_grad cls,
mlx_vector_array input,
);