SetGraphInputs property

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

\brief Set the inputs for the OrtGraph.

Set the graph inputs. This will replace any existing inputs with the new values. The OrtGraph takes ownership of the OrtValueInfo instances and you should NOT call ReleaseOrtValueInfo.

\paramin graph The OrtGraph instance to update. \paramin inputs The input OrtValueInfo instances. \paramin inputs_len The number of input OrtValueInfo instances.

\snippet{doc} snippets.dox OrtStatus Return Value

\since Version 1.22.

Implementation

external ffi.Pointer<
  ffi.NativeFunction<
    OrtStatusPtr Function(
      ffi.Pointer<OrtGraph> graph,
      ffi.Pointer<ffi.Pointer<OrtValueInfo>> inputs,
      ffi.Size inputs_len,
    )
  >
>
SetGraphInputs;