Class TensorRtOnnxSubgraphSupportInfo
- Namespace
- JYPPX.TensorRtSharp
- Assembly
- JYPPX.TensorRtSharp.dll
Describes one ONNX parser subgraph support result. 描述一条 ONNX parser 子图支持性结果。
public sealed class TensorRtOnnxSubgraphSupportInfo
- Inheritance
-
TensorRtOnnxSubgraphSupportInfo
- Inherited Members
Constructors
TensorRtOnnxSubgraphSupportInfo(long, bool, IReadOnlyList<long>)
Creates a subgraph support result. 创建子图支持性结果。
public TensorRtOnnxSubgraphSupportInfo(long index, bool isSupported, IReadOnlyList<long> nodes)
Parameters
indexlongZero-based subgraph index. 从零开始的子图索引。
isSupportedboolWhether TensorRT reports the subgraph as supported. TensorRT 是否报告该子图受支持。
nodesIReadOnlyList<long>ONNX node indexes included in this subgraph. 当前子图包含的 ONNX 节点索引。
Properties
Index
Gets the zero-based subgraph index. 获取从零开始的子图索引。
public long Index { get; }
Property Value
IsSupported
Gets whether TensorRT reports this subgraph as supported. 获取 TensorRT 是否报告该子图受支持。
public bool IsSupported { get; }
Property Value
Nodes
Gets the ONNX node indexes included in this subgraph. 获取当前子图包含的 ONNX 节点索引。
public IReadOnlyList<long> Nodes { get; }
Property Value
Methods
ToString()
Returns a compact subgraph summary. 返回紧凑的子图摘要。
public override string ToString()