Node_GetImplicitInputs property

Pointer<NativeFunction<OrtStatusPtr Function(Pointer<OrtNode> node, Pointer<Pointer<OrtValueInfo>> implicit_inputs, Size num_implicit_inputs)>> Node_GetImplicitInputs
getter/setter pair

\brief Get the implicit inputs, as OrtValueInfo instances, that are used within the given node's subgraphs.

\note Only certain operator types (e.g., If and Loop) contain nested subgraphs. The internal nodes within the nested subgraphs may use values from the outer scope. Those "outer scope" values are considered implicit inputs to the node that contains the subgraphs (e.g., the If or Loop node).

\paramin node The OrtNode instance. \paramout implicit_inputs Pre-allocated array of num_implicit_inputs elements that is filled the node's implicit inputs. \paramin num_implicit_inputs The size of the implicit_inputs array. Typical usage sets this to the result of Node_GetNumImplicitInputs(). An error status is returned if num_implicit_inputs is less than the number of node implicit 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>> implicit_inputs,
      ffi.Size num_implicit_inputs,
    )
  >
>
Node_GetImplicitInputs;