Enum TensorRtBuilderFlags
- Namespace
- JYPPX.TensorRtSharp
- Assembly
- JYPPX.TensorRtSharp.dll
Represents a TensorRT builder flag bitmask. 表示 TensorRT builder flag 位掩码。
[Flags]
public enum TensorRtBuilderFlags : uint
Fields
Bf16 = 131072Represents the Bf16 value of TensorRtBuilderFlags. 表示 TensorRtBuilderFlags 的 Bf16 取值。
Debug = 4Represents the Debug value of TensorRtBuilderFlags. 表示 TensorRtBuilderFlags 的 Debug 取值。
DirectIO = 2048Represents the DirectIO value of TensorRtBuilderFlags. 表示 TensorRtBuilderFlags 的 DirectIO 取值。
DisableCompilationCache = 262144Represents the DisableCompilationCache value of TensorRtBuilderFlags. 表示 TensorRtBuilderFlags 的 DisableCompilationCache 取值。
DisableTimingCache = 32Represents the DisableTimingCache value of TensorRtBuilderFlags. 表示 TensorRtBuilderFlags 的 DisableTimingCache 取值。
ErrorOnTimingCacheMiss = 65536Represents the ErrorOnTimingCacheMiss value of TensorRtBuilderFlags. 表示 TensorRtBuilderFlags 的 ErrorOnTimingCacheMiss 取值。
ExcludeLeanRuntime = 16384Represents the ExcludeLeanRuntime value of TensorRtBuilderFlags. 表示 TensorRtBuilderFlags 的 ExcludeLeanRuntime 取值。
Fp16 = 1Represents the Fp16 value of TensorRtBuilderFlags. 表示 TensorRtBuilderFlags 的 Fp16 取值。
Fp8 = 32768Represents the Fp8 value of TensorRtBuilderFlags. 表示 TensorRtBuilderFlags 的 Fp8 取值。
GpuFallback = 8Represents the GpuFallback value of TensorRtBuilderFlags. 表示 TensorRtBuilderFlags 的 GpuFallback 取值。
Int8 = 2Represents the Int8 value of TensorRtBuilderFlags. 表示 TensorRtBuilderFlags 的 Int8 取值。
None = 0No builder flags are enabled. 不启用任何 builder flag。
ObeyPrecisionConstraints = 512Represents the ObeyPrecisionConstraints value of TensorRtBuilderFlags. 表示 TensorRtBuilderFlags 的 ObeyPrecisionConstraints 取值。
PreferPrecisionConstraints = 1024Represents the PreferPrecisionConstraints value of TensorRtBuilderFlags. 表示 TensorRtBuilderFlags 的 PreferPrecisionConstraints 取值。
Refit = 16Represents the Refit value of TensorRtBuilderFlags. 表示 TensorRtBuilderFlags 的 Refit 取值。
RefitIdentical = 1048576Represents the RefitIdentical value of TensorRtBuilderFlags. 表示 TensorRtBuilderFlags 的 RefitIdentical 取值。
RejectEmptyAlgorithms = 4096Represents the RejectEmptyAlgorithms value of TensorRtBuilderFlags. 表示 TensorRtBuilderFlags 的 RejectEmptyAlgorithms 取值。
SafetyScope = 256Represents the SafetyScope value of TensorRtBuilderFlags. 表示 TensorRtBuilderFlags 的 SafetyScope 取值。
SparseWeights = 128Represents the SparseWeights value of TensorRtBuilderFlags. 表示 TensorRtBuilderFlags 的 SparseWeights 取值。
StripPlan = 524288Represents the StripPlan value of TensorRtBuilderFlags. 表示 TensorRtBuilderFlags 的 StripPlan 取值。
Tf32 = 64Represents the Tf32 value of TensorRtBuilderFlags. 表示 TensorRtBuilderFlags 的 Tf32 取值。
VersionCompatible = 8192Represents the VersionCompatible value of TensorRtBuilderFlags. 表示 TensorRtBuilderFlags 的 VersionCompatible 取值。
WeightStreaming = 2097152Represents the WeightStreaming value of TensorRtBuilderFlags. 表示 TensorRtBuilderFlags 的 WeightStreaming 取值。