KernelInfo_GetInputCount property

Pointer<NativeFunction<OrtStatusPtr Function(Pointer<OrtKernelInfo> info, Pointer<Size> out)>> KernelInfo_GetInputCount
getter/setter pair

\brief Get the number of inputs from ::OrtKernelInfo.

Used in the CreateKernel callback of an OrtCustomOp to query the number of inputs during kernel/session creation.

\paramin info Instance of ::OrtKernelInfo. \paramout out Pointer to variable assigned with the result on success.

\snippet{doc} snippets.dox OrtStatus Return Value \since Version 1.14

Implementation

external ffi.Pointer<
  ffi.NativeFunction<
    OrtStatusPtr Function(
      ffi.Pointer<OrtKernelInfo> info,
      ffi.Pointer<ffi.Size> out,
    )
  >
>
KernelInfo_GetInputCount;