GetCANNProviderOptionsAsString property
Pointer<NativeFunction<OrtStatusPtr Function(Pointer<OrtCANNProviderOptions> cann_options, Pointer<OrtAllocator> allocator, Pointer<Pointer<Char> > ptr)> >
GetCANNProviderOptionsAsString
getter/setter pair
\brief Get serialized CANN provider options string.
\paramin cann_options OrtCANNProviderOptions instance
\paramin allocator a ptr to an instance of OrtAllocator obtained with CreateAllocator()
or GetAllocatorWithDefaultOptions(), the specified allocator will be used to allocate
continuous buffers for output strings and lengths.
\paramout ptr is a UTF-8 null terminated string allocated using 'allocator'.
The caller is responsible for using the same allocator to free it.
\snippet{doc} snippets.dox OrtStatus Return Value
\since Version 1.13.
Implementation
external ffi.Pointer<
ffi.NativeFunction<
OrtStatusPtr Function(
ffi.Pointer<OrtCANNProviderOptions> cann_options,
ffi.Pointer<OrtAllocator> allocator,
ffi.Pointer<ffi.Pointer<ffi.Char>> ptr,
)
>
>
GetCANNProviderOptionsAsString;