Graph_GetInputs property

Pointer<NativeFunction<OrtStatusPtr Function(Pointer<OrtGraph> graph, Pointer<Pointer<OrtValueInfo>> inputs, Size num_inputs)>> Graph_GetInputs
getter/setter pair

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

\note The result includes initializers that are included in the list of graph inputs.

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

\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>> inputs,
      ffi.Size num_inputs,
    )
  >
>
Graph_GetInputs;