GetTensorData property
Pointer<NativeFunction<OrtStatusPtr Function(Pointer<OrtValue> value, Pointer<Pointer<Void> > out)> >
GetTensorData
getter/setter pair
\brief Get a const pointer to the raw data inside a tensor
Used to read the internal tensor data directly. \note The returned pointer is valid until the OrtValue is destroyed.
\paramin value A tensor type (string tensors are not supported)
\paramout out Filled in with a pointer to the internal storage
\snippet{doc} snippets.dox OrtStatus Return Value
\since Version 1.23
Implementation
external ffi.Pointer<
ffi.NativeFunction<
OrtStatusPtr Function(
ffi.Pointer<OrtValue> value,
ffi.Pointer<ffi.Pointer<ffi.Void>> out,
)
>
>
GetTensorData;