GetStringTensorElement property
Pointer<NativeFunction<OrtStatusPtr Function(Pointer<OrtValue> value, Size s_len, Size index, Pointer<Void> s)> >
GetStringTensorElement
getter/setter pair
\brief Get a single string from a string tensor
\paramin value A string tensor
\paramin s_len Number of bytes in the s buffer. Must match the value returned by OrtApi::GetStringTensorElementLength.
\paramin index Index of the string in the tensor
\paramout s The string element contents in UTF-8 encoding. The string is NOT null-terminated.
\snippet{doc} snippets.dox OrtStatus Return Value
Implementation
external ffi.Pointer<
ffi.NativeFunction<
OrtStatusPtr Function(
ffi.Pointer<OrtValue> value,
ffi.Size s_len,
ffi.Size index,
ffi.Pointer<ffi.Void> s,
)
>
>
GetStringTensorElement;