SessionOptionsAppendExecutionProvider_TensorRT property

Pointer<NativeFunction<OrtStatusPtr Function(Pointer<OrtSessionOptions> options, Pointer<OrtTensorRTProviderOptions> tensorrt_options)>> SessionOptionsAppendExecutionProvider_TensorRT
getter/setter pair

\brief Append TensorRT provider to session options

If TensorRT is not available (due to a non TensorRT enabled build, or if TensorRT is not installed on the system), this function will return failure.

\paramin options \paramin tensorrt_options

\snippet{doc} snippets.dox OrtStatus Return Value

Implementation

external ffi.Pointer<
  ffi.NativeFunction<
    OrtStatusPtr Function(
      ffi.Pointer<OrtSessionOptions> options,
      ffi.Pointer<OrtTensorRTProviderOptions> tensorrt_options,
    )
  >
>
SessionOptionsAppendExecutionProvider_TensorRT;