CreateKernel property
Pointer<NativeFunction<Pointer<Void> Function(Pointer<OrtCustomOp> op, Pointer<OrtApi> api, Pointer<OrtKernelInfo> info)> >
CreateKernel
getter/setter pair
This callback creates the kernel, which is a user defined parameter that is passed to the Kernel* callbacks below. It is recommended to use CreateKernelV2 which allows for a safe error propagation by returning an OrtStatusPtr.
Implementation
external ffi.Pointer<
ffi.NativeFunction<
ffi.Pointer<ffi.Void> Function(
ffi.Pointer<OrtCustomOp> op,
ffi.Pointer<OrtApi> api,
ffi.Pointer<OrtKernelInfo> info,
)
>
>
CreateKernel;