UpdateTensorRTProviderOptions property
\brief Set options in a TensorRT Execution Provider.
Please refer to https://onnxruntime.ai/docs/execution-providers/TensorRT-ExecutionProvider.html#cc to know the available keys and values. Key should be in null terminated string format of the member of ::OrtTensorRTProviderOptionsV2 and value should be its related range. Recreates the options and only sets the supplied values.
For example, key="trt_max_workspace_size" and value="2147483648"
\paramin tensorrt_options
\paramin provider_options_keys Array of UTF-8 null-terminated string for provider options keys
\paramin provider_options_values Array of UTF-8 null-terminated string for provider options values
\paramin num_keys Number of elements in the provider_option_keys and provider_options_values arrays
\snippet{doc} snippets.dox OrtStatus Return Value
Implementation
external ffi.Pointer<
ffi.NativeFunction<
OrtStatusPtr Function(
ffi.Pointer<OrtTensorRTProviderOptionsV2> tensorrt_options,
ffi.Pointer<ffi.Pointer<ffi.Char>> provider_options_keys,
ffi.Pointer<ffi.Pointer<ffi.Char>> provider_options_values,
ffi.Size num_keys,
)
>
>
UpdateTensorRTProviderOptions;