GetTensorRTProviderOptionsByName property

Pointer<NativeFunction<OrtStatusPtr Function(Pointer<OrtTensorRTProviderOptionsV2> tensorrt_options, Pointer<Char> key, Pointer<Pointer<Void>> ptr)>> GetTensorRTProviderOptionsByName
getter/setter pair

Get TensorRT EP provider option where its data type is pointer. If the data type of the provider option can be represented by string please use GetTensorRTProviderOptionsAsString.

\param tensorrt_options - OrtTensorRTProviderOptionsV2 instance \param key - Name of the provider option \param ptr - A pointer to the instance that is kept by the 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.Pointer<ffi.Void>> ptr,
    )
  >
>
GetTensorRTProviderOptionsByName;