Table of Contents

Struct TensorRtTimingCacheValue

Namespace
JYPPX.TensorRtSharp
Assembly
JYPPX.TensorRtSharp.dll

Represents one TensorRT timing-cache entry value. 表示一个 TensorRT timing cache 条目值。

public readonly struct TensorRtTimingCacheValue
Inherited Members

Constructors

TensorRtTimingCacheValue(ulong, float)

Initializes one TensorRT timing-cache value. 初始化一个 TensorRT timing cache 值。

public TensorRtTimingCacheValue(ulong tacticHash, float timingMilliseconds)

Parameters

tacticHash ulong

The TensorRT tactic hash. TensorRT tactic 哈希值。

timingMilliseconds float

The timing in milliseconds. timing,单位为毫秒。

Fields

InvalidTacticHash

Sentinel tactic hash used for invalid or missing entries. 用于无效或缺失条目的哨兵 tactic 哈希值。

public const ulong InvalidTacticHash = 18446744073709551615

Field Value

ulong

Properties

IsValid

Gets whether the timing-cache value looks valid. 获取当前 timing cache 值是否看起来有效。

public bool IsValid { get; }

Property Value

bool

TacticHash

Gets the TensorRT tactic hash. 获取 TensorRT tactic 哈希值。

public ulong TacticHash { get; }

Property Value

ulong

TimingMilliseconds

Gets the timing in milliseconds. 获取 timing,单位为毫秒。

public float TimingMilliseconds { get; }

Property Value

float