ValueInfo_IsFromOuterScope property

Pointer<NativeFunction<OrtStatusPtr Function(Pointer<OrtValueInfo> value_info, Pointer<Bool> is_from_outer_scope)>> ValueInfo_IsFromOuterScope
getter/setter pair

\brief Returns a boolean indicating if the given value is defined in an outer scope.

Certain operator types (e.g., If and Loop) contain nested subgraphs. This function enables determining whether a value is defined in a parent node's graph.

\paramin value_info The OrtValueInfo instance representing the graph value. \paramout is_from_outer_scope Output parameter set to true if the value is defined in an outer scope (i.e., a parent graph).

\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.Bool> is_from_outer_scope,
    )
  >
>
ValueInfo_IsFromOuterScope;