Compute property

Pointer<NativeFunction<OrtStatusPtr Function(Pointer<OrtKernelImpl> this_ptr, Pointer<OrtKernelContext> context)>> Compute
getter/setter pair

\brief Computation function called to execute the kernel on an EP.

\note Implementation of this function is required.

\paramin this_ptr The OrtKernelImpl instance. \paramin context The OrtKernelContext instance that provides access to the inputs and outputs.

\snippet{doc} snippets.dox OrtStatus Return Value

\since Version 1.24.

Implementation

external ffi.Pointer<
  ffi.NativeFunction<
    OrtStatusPtr Function(
      ffi.Pointer<OrtKernelImpl> this_ptr,
      ffi.Pointer<OrtKernelContext> context,
    )
  >
>
Compute;