CreateValue property
Pointer<NativeFunction<OrtStatusPtr Function(Pointer<Pointer<OrtValue> > in$, Size num_values, UnsignedInt value_type, Pointer<Pointer<OrtValue> > out)> >
CreateValue
getter/setter pair
\brief Create a map or sequence ::OrtValue
To construct a map (ONNX_TYPE_MAP), use num_values = 2 and in should be an array of 2 ::OrtValue%s
representing keys and values.
To construct a sequence (ONNX_TYPE_SEQUENCE), use num_values = N where N is the number of the elements in the sequence. 'in' should be an array of N ::OrtValue%s.
\paramin in See above for details
\paramin num_values
\paramin value_type Must be either ONNX_TYPE_MAP or ONNX_TYPE_SEQUENCE
\paramout out Newly created ::OrtValue. Must be freed with OrtApi::ReleaseValue
\snippet{doc} snippets.dox OrtStatus Return Value
Implementation
external ffi.Pointer<
ffi.NativeFunction<
OrtStatusPtr Function(
ffi.Pointer<ffi.Pointer<OrtValue>> in$,
ffi.Size num_values,
ffi.UnsignedInt value_type,
ffi.Pointer<ffi.Pointer<OrtValue>> out,
)
>
>
CreateValue;