Table of Contents

Class TensorRtPluginRegistryInventory

Namespace
JYPPX.TensorRtSharp
Assembly
JYPPX.TensorRtSharp.dll

Read-only snapshot of a TensorRT plugin registry. TensorRT plugin registry 的只读快照。

public sealed class TensorRtPluginRegistryInventory
Inheritance
TensorRtPluginRegistryInventory
Inherited Members

Properties

CreatorCount

Gets the number of plugin creators in the snapshot. 获取快照中的 plugin creator 数量。

public int CreatorCount { get; }

Property Value

int

Creators

Gets the plugin creators copied from the registry snapshot. 获取从 registry 快照复制出的 plugin creator 列表。

public IReadOnlyList<TensorRtPluginCreatorInfo> Creators { get; }

Property Value

IReadOnlyList<TensorRtPluginCreatorInfo>

HasErrorRecorder

Gets whether the registry has an error recorder. 获取 registry 是否绑定 error recorder。

public bool HasErrorRecorder { get; }

Property Value

bool

Line

Gets the TensorRT API line used to collect this inventory. 获取采集该 inventory 的 TensorRT API line。

public TensorRtApiLine Line { get; }

Property Value

TensorRtApiLine

ParentSearchEnabled

Gets whether parent registry search is enabled. 获取是否启用 parent registry search。

public bool ParentSearchEnabled { get; }

Property Value

bool

RecursiveCreatorCount

Gets the recursive creator count when the source supports a separate recursive query. 当 registry 来源支持单独递归查询时,获取递归 creator 数量。

public int? RecursiveCreatorCount { get; }

Property Value

int?

Source

Gets the registry source used to collect this inventory. 获取采集该 inventory 的 registry 来源。

public TensorRtPluginRegistrySource Source { get; }

Property Value

TensorRtPluginRegistrySource

Methods

ToString()

Returns a compact display string for the registry inventory. 返回该 registry inventory 的简短显示字符串。

public override string ToString()

Returns

string

A display string containing source, creator counts, and registry options. 包含来源、creator 数量和 registry 选项的显示字符串。