Node_GetInputs property

Pointer<NativeFunction<OrtStatusPtr Function(Pointer<OrtNode> node, Pointer<Pointer<OrtValueInfo>> inputs, Size num_inputs)>> Node_GetInputs
getter/setter pair

\brief Returns the node's inputs as OrtValueInfo instances.

\paramin node The OrtNode instance. \paramout inputs Pre-allocated array of num_inputs elements that is filled with the node's inputs. \paramin num_inputs The size of the inputs array. Typical usage sets this to the result of Node_GetNumInputs(). An error status is returned if num_inputs is less than the number of node inputs.

\snippet{doc} snippets.dox OrtStatus Return Value

\since Version 1.23.

Implementation

external ffi.Pointer<
  ffi.NativeFunction<
    OrtStatusPtr Function(
      ffi.Pointer<OrtNode> node,
      ffi.Pointer<ffi.Pointer<OrtValueInfo>> inputs,
      ffi.Size num_inputs,
    )
  >
>
Node_GetInputs;