Table of Contents

Class TensorRtBuilderConfigSerializedPluginSnapshot

Namespace
JYPPX.TensorRtSharp
Assembly
JYPPX.TensorRtSharp.dll

Represents a copied read-only snapshot of TensorRT builder config serialized plugin paths. 表示 TensorRT builder config serialized plugin path 的复制型只读快照。

public sealed class TensorRtBuilderConfigSerializedPluginSnapshot
Inheritance
TensorRtBuilderConfigSerializedPluginSnapshot
Inherited Members

Properties

Count

Gets the serialized plugin path count reported by TensorRT. 获取 TensorRT 报告的 serialized plugin path 数量。

public int Count { get; }

Property Value

int

Diagnostic

Gets a diagnostic string describing path inventory availability. 获取描述 path inventory 可用性的诊断字符串。

public string Diagnostic { get; }

Property Value

string

HasPathInventory

Gets whether copied plugin path inventory is available. 获取是否存在已复制的 plugin path inventory。

public bool HasPathInventory { get; }

Property Value

bool

Line

Gets the TensorRT API line used for the snapshot. 获取该快照对应的 TensorRT API line。

public TensorRtApiLine Line { get; }

Property Value

TensorRtApiLine

PluginLibraryPaths

Gets copied serialized plugin library paths when the TensorRT line supports path copying. 获取当前 TensorRT 版本线支持 path copying 时复制出的 serialized plugin library path。

public IReadOnlyList<string> PluginLibraryPaths { get; }

Property Value

IReadOnlyList<string>

Methods

ToString()

Formats this snapshot for diagnostics. 将该快照格式化为诊断字符串。

public override string ToString()

Returns

string