Graph_GetOutputs property

Pointer<NativeFunction<OrtStatusPtr Function(Pointer<OrtGraph> graph, Pointer<Pointer<OrtValueInfo>> outputs, Size num_outputs)>> Graph_GetOutputs
getter/setter pair

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

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

\snippet{doc} snippets.dox OrtStatus Return Value

\since Version 1.23.

Implementation

external ffi.Pointer<
  ffi.NativeFunction<
    OrtStatusPtr Function(
      ffi.Pointer<OrtGraph> graph,
      ffi.Pointer<ffi.Pointer<OrtValueInfo>> outputs,
      ffi.Size num_outputs,
    )
  >
>
Graph_GetOutputs;