Class TensorRtAdapterInfo
Adapter availability snapshot for a specific TensorRT major line. 指定 TensorRT 主版本线的适配器可用性快照。
public sealed class TensorRtAdapterInfo
- Inheritance
-
TensorRtAdapterInfo
- Inherited Members
Constructors
TensorRtAdapterInfo(TensorRtApiLine, bool, bool, bool, bool, bool, string, string)
Creates a TensorRT adapter availability snapshot. 创建 TensorRT 适配器可用性快照。
public TensorRtAdapterInfo(TensorRtApiLine line, bool vendorDependencyAvailable, bool runtimeCreationSupported, bool builderCreationSupported, bool networkCreationSupported, bool engineDeserializationSupported, string detectedVersion, string statusMessage)
Parameters
lineTensorRtApiLinevendorDependencyAvailableboolruntimeCreationSupportedboolbuilderCreationSupportedboolnetworkCreationSupportedboolengineDeserializationSupportedbooldetectedVersionstringstatusMessagestring
Properties
BuilderCreationSupported
Gets whether TensorRT builder creation is supported. 获取是否支持创建 TensorRT builder。
public bool BuilderCreationSupported { get; }
Property Value
DetectedVersion
Gets the detected vendor version string when available. 获取可用时检测到的厂商版本字符串。
public string DetectedVersion { get; }
Property Value
EngineDeserializationSupported
Gets whether TensorRT engine deserialization is supported. 获取是否支持 TensorRT engine 反序列化。
public bool EngineDeserializationSupported { get; }
Property Value
Line
Gets the TensorRT API line represented by this snapshot. 获取该快照对应的 TensorRT API 主版本线。
public TensorRtApiLine Line { get; }
Property Value
NetworkCreationSupported
Gets whether TensorRT network creation is supported. 获取是否支持创建 TensorRT network。
public bool NetworkCreationSupported { get; }
Property Value
RuntimeCreationSupported
Gets whether TensorRT runtime creation is supported. 获取是否支持创建 TensorRT runtime。
public bool RuntimeCreationSupported { get; }
Property Value
StatusMessage
Gets the status or diagnostic message for this adapter line. 获取该适配线的状态或诊断消息。
public string StatusMessage { get; }
Property Value
VendorDependencyAvailable
Gets whether vendor-side dependencies were found. 获取是否找到了厂商侧依赖。
public bool VendorDependencyAvailable { get; }