GetOpaqueValue property

Pointer<NativeFunction<OrtStatusPtr Function(Pointer<Char> domain_name, Pointer<Char> type_name, Pointer<OrtValue> in$, Pointer<Void> data_container, Size data_container_size)>> GetOpaqueValue
getter/setter pair

\brief Get internal data from an opaque (custom user defined type) ::OrtValue

Copies internal data from an opaque value into a user provided buffer

\see OrtApi::CreateOpaqueValue

\paramin domain_name Null terminated string of the domain name \paramin type_name Null terminated string of the type name \paramin in The opaque ::OrtValue \paramout data_container Buffer to copy data into \paramout data_container_size Size in bytes of the buffer pointed to by data_container. Must match the size of the internal buffer.

\snippet{doc} snippets.dox OrtStatus Return Value

Implementation

external ffi.Pointer<
  ffi.NativeFunction<
    OrtStatusPtr Function(
      ffi.Pointer<ffi.Char> domain_name,
      ffi.Pointer<ffi.Char> type_name,
      ffi.Pointer<OrtValue> in$,
      ffi.Pointer<ffi.Void> data_container,
      ffi.Size data_container_size,
    )
  >
>
GetOpaqueValue;