GetValue property
Pointer<NativeFunction<OrtStatusPtr Function(Pointer<OrtValue> value, Int index, Pointer<OrtAllocator> allocator, Pointer<Pointer<OrtValue> > out)> >
GetValue
getter/setter pair
\brief Get non tensor data from an ::OrtValue
If value is of type ONNX_TYPE_MAP, you need to retrieve the keys and values
separately. Use index=0 to retrieve keys and index=1 to retrieve values.
If value is of type ONNX_TYPE_SEQUENCE, use index to retrieve the index'th element
of the sequence.
\paramin value
\paramin index See above for usage based on value type
\paramin allocator Allocator used to allocate ::OrtValue
\paramout out Created ::OrtValue that holds the element requested. Must be freed with OrtApi::ReleaseValue
\snippet{doc} snippets.dox OrtStatus Return Value
Implementation
external ffi.Pointer<
ffi.NativeFunction<
OrtStatusPtr Function(
ffi.Pointer<OrtValue> value,
ffi.Int index,
ffi.Pointer<OrtAllocator> allocator,
ffi.Pointer<ffi.Pointer<OrtValue>> out,
)
>
>
GetValue;