Node_GetOutputs property

Pointer<NativeFunction<OrtStatusPtr Function(Pointer<OrtNode> node, Pointer<Pointer<OrtValueInfo>> outputs, Size num_outputs)>> Node_GetOutputs
getter/setter pair

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

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

\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>> outputs,
      ffi.Size num_outputs,
    )
  >
>
Node_GetOutputs;