Table of Contents

Class TensorRtOnnxConfigSummary

Namespace
JYPPX.TensorRtSharp
Assembly
JYPPX.TensorRtSharp.dll

Compact pointer-free summary of a TensorRT ONNX parser configuration snapshot. TensorRT ONNX parser 配置快照的紧凑无指针摘要。

public sealed class TensorRtOnnxConfigSummary
Inheritance
TensorRtOnnxConfigSummary
Inherited Members

Constructors

TensorRtOnnxConfigSummary(TensorRtApiLine, TensorRtDataType, int, bool, int, int, int)

Initializes a compact ONNX config summary. 初始化紧凑 ONNX config 摘要。

public TensorRtOnnxConfigSummary(TensorRtApiLine line, TensorRtDataType modelDataType, int verbosityLevel, bool printLayerInfo, int modelFileNameLength, int textFileNameLength, int fullTextFileNameLength)

Parameters

line TensorRtApiLine
modelDataType TensorRtDataType
verbosityLevel int
printLayerInfo bool
modelFileNameLength int
textFileNameLength int
fullTextFileNameLength int

Properties

FullTextFileNameLength

Gets the copied full text file name length. 获取复制后的 full text 文件名长度。

public int FullTextFileNameLength { get; }

Property Value

int

HasFullTextFileName

Gets whether a full text output file name is present without exposing the full path. 获取是否存在 full text 输出文件名,同时不暴露完整路径。

public bool HasFullTextFileName { get; }

Property Value

bool

HasModelFileName

Gets whether a model file name is present without exposing the full path. 获取是否存在 model 文件名,同时不暴露完整路径。

public bool HasModelFileName { get; }

Property Value

bool

HasTextFileName

Gets whether a text output file name is present without exposing the full path. 获取是否存在 text 输出文件名,同时不暴露完整路径。

public bool HasTextFileName { get; }

Property Value

bool

Line

Gets the TensorRT API line that produced the summary. 获取生成摘要的 TensorRT API 版本线。

public TensorRtApiLine Line { get; }

Property Value

TensorRtApiLine

ModelDataType

Gets the copied model data type. 获取复制后的模型数据类型。

public TensorRtDataType ModelDataType { get; }

Property Value

TensorRtDataType

ModelFileNameLength

Gets the copied model file name length. 获取复制后的 model 文件名长度。

public int ModelFileNameLength { get; }

Property Value

int

PrintLayerInfo

Gets whether parser layer information printing is enabled. 获取是否启用 parser layer 信息打印。

public bool PrintLayerInfo { get; }

Property Value

bool

TextFileNameLength

Gets the copied text file name length. 获取复制后的 text 文件名长度。

public int TextFileNameLength { get; }

Property Value

int

VerbosityLevel

Gets the copied parser verbosity level. 获取复制后的 parser 日志详细级别。

public int VerbosityLevel { get; }

Property Value

int

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.