GetTensorRTProviderOptionsAsString property
Pointer<NativeFunction<OrtStatusPtr Function(Pointer<OrtTensorRTProviderOptionsV2> tensorrt_options, Pointer<OrtAllocator> allocator, Pointer<Pointer<Char> > ptr)> >
GetTensorRTProviderOptionsAsString
getter/setter pair
\brief Get serialized TensorRT provider options string.
For example, "trt_max_workspace_size=2147483648;trt_max_partition_iterations=10;trt_int8_enable=1;......"
\param tensorrt_options - OrtTensorRTProviderOptionsV2 instance \param allocator - a ptr to an instance of OrtAllocator obtained with OrtApi::CreateAllocator or OrtApi::GetAllocatorWithDefaultOptions the specified allocator will be used to allocate continuous buffers for output strings and lengths. \param 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
Implementation
external ffi.Pointer<
ffi.NativeFunction<
OrtStatusPtr Function(
ffi.Pointer<OrtTensorRTProviderOptionsV2> tensorrt_options,
ffi.Pointer<OrtAllocator> allocator,
ffi.Pointer<ffi.Pointer<ffi.Char>> ptr,
)
>
>
GetTensorRTProviderOptionsAsString;