Class TensorRtOnnxConfigSnapshot
- Namespace
- JYPPX.TensorRtSharp
- Assembly
- JYPPX.TensorRtSharp.dll
Pointer-free copied snapshot of a TensorRT ONNX parser configuration. TensorRT ONNX parser 配置的无指针复制快照。
public sealed class TensorRtOnnxConfigSnapshot
- Inheritance
-
TensorRtOnnxConfigSnapshot
- Inherited Members
Constructors
TensorRtOnnxConfigSnapshot(TensorRtApiLine, TensorRtDataType, int, string?, string?, string?, bool)
Initializes a new copied ONNX config snapshot. 初始化复制后的 ONNX config 快照。
public TensorRtOnnxConfigSnapshot(TensorRtApiLine line, TensorRtDataType modelDataType, int verbosityLevel, string? modelFileName, string? textFileName, string? fullTextFileName, bool printLayerInfo)
Parameters
lineTensorRtApiLinemodelDataTypeTensorRtDataTypeverbosityLevelintmodelFileNamestringtextFileNamestringfullTextFileNamestringprintLayerInfobool
Properties
FullTextFileName
Gets the copied parser full text output file name. 获取复制后的 parser full text 输出文件名。
public string FullTextFileName { get; }
Property Value
Line
Gets the TensorRT API line that produced the snapshot. 获取生成该快照的 TensorRT API 版本线。
public TensorRtApiLine Line { get; }
Property Value
ModelDataType
Gets the copied ONNX model data type. 获取复制后的 ONNX 模型数据类型。
public TensorRtDataType ModelDataType { get; }
Property Value
ModelFileName
Gets the copied ONNX model file name. 获取复制后的 ONNX model 文件名。
public string ModelFileName { get; }
Property Value
PrintLayerInfo
Gets whether parser layer information printing is enabled. 获取是否启用 parser layer 信息打印。
public bool PrintLayerInfo { get; }
Property Value
TextFileName
Gets the copied parser text output file name. 获取复制后的 parser text 输出文件名。
public string TextFileName { get; }
Property Value
VerbosityLevel
Gets the copied parser verbosity level. 获取复制后的 parser 日志详细级别。
public int VerbosityLevel { get; }
Property Value
Methods
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.
ToSummary()
Creates a compact release-facing summary from this copied snapshot. 根据该复制快照创建面向发布证据的摘要。
public TensorRtOnnxConfigSummary ToSummary()
Returns
- TensorRtOnnxConfigSummary
A pointer-free summary. 无指针摘要。