mlx_vjp function
- @Native<Int Function(Pointer<
mlx_vector_array> , Pointer<mlx_vector_array> , mlx_closure, mlx_vector_array, mlx_vector_array)>(ffi.Pointer<mlx_vector_array>, ffi.Pointer<mlx_vector_array>, mlx_closure, mlx_vector_array, mlx_vector_array)>()
- Pointer<
mlx_vector_array> res_0, - Pointer<
mlx_vector_array> res_1, - mlx_closure fun,
- mlx_vector_array primals,
- mlx_vector_array cotangents,
Implementation
@ffi.Native<
ffi.Int Function(
ffi.Pointer<mlx_vector_array>,
ffi.Pointer<mlx_vector_array>,
mlx_closure,
mlx_vector_array,
mlx_vector_array,
)
>()
external int mlx_vjp(
ffi.Pointer<mlx_vector_array> res_0,
ffi.Pointer<mlx_vector_array> res_1,
mlx_closure fun,
mlx_vector_array primals,
mlx_vector_array cotangents,
);