ValueInfo_GetValueProducer property

Pointer<NativeFunction<OrtStatusPtr Function(Pointer<OrtValueInfo> value_info, Pointer<Pointer<OrtNode>> producer_node, Pointer<Size> producer_output_index)>> ValueInfo_GetValueProducer
getter/setter pair

\brief Get the OrtNode that produces the value represented by the given OrtValueInfo. Optionally returns the associated output index.

\paramin value_info The OrtValueInfo instance. \paramout producer_node Output parameter set to the OrtNode that produces the OrtValueInfo. \paramout producer_output_index Optional output parameter set to the OrtNode instance's output index that produces the value. Ignored if set to NULL. \snippet{doc} snippets.dox OrtStatus Return Value \since Version 1.23.

Implementation

external ffi.Pointer<
  ffi.NativeFunction<
    OrtStatusPtr Function(
      ffi.Pointer<OrtValueInfo> value_info,
      ffi.Pointer<ffi.Pointer<OrtNode>> producer_node,
      ffi.Pointer<ffi.Size> producer_output_index,
    )
  >
>
ValueInfo_GetValueProducer;