#[repr(i32)]pub enum EngineCapability {
kSTANDARD = 0,
kSAFETY = 1,
kDLA_STANDALONE = 2,
}Expand description
EngineCapability
List of supported engine capability flows.
The EngineCapability determines the restrictions of a network during build time and what runtime it targets. EngineCapability::kSTANDARD does not provide any restrictions on functionality and the resulting serialized engine can be executed with TensorRT’s standard runtime APIs in the nvinfer1 namespace. EngineCapability::kSAFETY provides a restricted subset of network operations that are safety certified and the resulting serialized engine can be executed with TensorRT’s safe runtime APIs in the nvinfer2::safe namespace. EngineCapability::kDLA_STANDALONE provides a restricted subset of network operations that are DLA compatible and the resulting serialized engine can be executed using standalone DLA runtime APIs. See sampleCudla for an example of integrating cuDLA APIs with TensorRT APIs.
Variants§
kSTANDARD = 0
Standard: TensorRT flow without targeting the safety runtime. This flow supports both DeviceType::kGPU and DeviceType::kDLA.
kSAFETY = 1
Safety: TensorRT flow with restrictions targeting the safety runtime. See safety documentation for list of supported layers and formats. This flow supports only DeviceType::kGPU.
This flag is only supported in NVIDIA Drive(R) products.
kDLA_STANDALONE = 2
DLA Standalone: TensorRT flow with restrictions targeting external, to TensorRT, DLA runtimes. See DLA documentation for list of supported layers and formats. This flow supports only DeviceType::kDLA.
Trait Implementations§
Source§impl Clone for EngineCapability
impl Clone for EngineCapability
Source§fn clone(&self) -> EngineCapability
fn clone(&self) -> EngineCapability
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Eq for EngineCapability
Source§impl ExternType for EngineCapability
impl ExternType for EngineCapability
Source§impl From<EngineCapability> for EngineCapability
impl From<EngineCapability> for EngineCapability
Source§fn from(value: EngineCapability) -> Self
fn from(value: EngineCapability) -> Self
Source§impl Hash for EngineCapability
impl Hash for EngineCapability
Source§impl Into<EngineCapability> for EngineCapability
impl Into<EngineCapability> for EngineCapability
Source§fn into(self) -> EngineCapability
fn into(self) -> EngineCapability
Source§impl PartialEq for EngineCapability
impl PartialEq for EngineCapability
Source§fn eq(&self, other: &EngineCapability) -> bool
fn eq(&self, other: &EngineCapability) -> bool
self and other values to be equal, and is used by ==.