Table of Contents

Class TensorRtPluginFormatSupportSnapshot

Namespace
JYPPX.TensorRtSharp
Assembly
JYPPX.TensorRtSharp.dll

Copied format-combination decisions for the data types and first allowed formats declared by a network-owned layer. 针对 network-owned layer 声明的数据类型与首个允许格式复制出的格式组合结果。

public sealed class TensorRtPluginFormatSupportSnapshot
Inheritance
TensorRtPluginFormatSupportSnapshot
Inherited Members

Properties

AllSupported

Gets whether every declared position is supported as one prefix-consistent combination. 获取全部声明位置是否形成前缀一致的受支持组合。

public bool AllSupported { get; }

Property Value

bool

Capability

Gets the queried plugin capability. 获取被查询的 plugin capability。

public TensorRtPluginFormatCapabilityKind Capability { get; }

Property Value

TensorRtPluginFormatCapabilityKind

InputCount

Gets the copied input count. 获取复制出的输入数量。

public int InputCount { get; }

Property Value

int

IsConsistent

Gets whether the snapshot is bounded, copied, and internally consistent. 获取快照是否有界、已复制且内部一致。

public bool IsConsistent { get; }

Property Value

bool

Line

Gets the TensorRT API line used for the query. 获取查询使用的 TensorRT API line。

public TensorRtApiLine Line { get; }

Property Value

TensorRtApiLine

OutputCount

Gets the copied output count. 获取复制出的输出数量。

public int OutputCount { get; }

Property Value

int

Support

Gets input-then-output support flags. 获取按输入后输出排列的支持标志。

public IReadOnlyList<bool> Support { get; }

Property Value

IReadOnlyList<bool>

Methods

IsInputSupported(int)

Gets support for an input position. 获取指定输入位置的支持状态。

public bool IsInputSupported(int inputIndex)

Parameters

inputIndex int

Returns

bool

IsOutputSupported(int)

Gets support for an output position. 获取指定输出位置的支持状态。

public bool IsOutputSupported(int outputIndex)

Parameters

outputIndex int

Returns

bool

ToString()

Returns compact diagnostics. 返回简短诊断。

public override string ToString()

Returns

string