UpdateTensorRTProviderOptionsWithValue property
Pointer<NativeFunction<OrtStatusPtr Function(Pointer<OrtTensorRTProviderOptionsV2> tensorrt_options, Pointer<Char> key, Pointer<Void> value)> >
UpdateTensorRTProviderOptionsWithValue
getter/setter pair
Update TensorRT EP provider option where its data type is pointer, for example 'user_compute_stream'. If the data type of the provider option can be represented by string please use UpdateTensorRTProviderOptions.
Note: It's caller's responsibility to properly manage the lifetime of the instance pointed by this pointer.
\param tensorrt_options - OrtTensorRTProviderOptionsV2 instance \param key - Name of the provider option \param value - A pointer to the instance that will be assigned to this provider option
\since Version 1.16.
Implementation
external ffi.Pointer<
ffi.NativeFunction<
OrtStatusPtr Function(
ffi.Pointer<OrtTensorRTProviderOptionsV2> tensorrt_options,
ffi.Pointer<ffi.Char> key,
ffi.Pointer<ffi.Void> value,
)
>
>
UpdateTensorRTProviderOptionsWithValue;