Table of Contents

Enum TensorRtWeightsRole

Namespace
JYPPX.TensorRtSharp
Assembly
JYPPX.TensorRtSharp.dll

Identifies how TensorRT uses a weight tensor during refitting. 标识 TensorRT 在 refit 过程中如何使用某个权重张量。

public enum TensorRtWeightsRole

Fields

Any = 5

Any other TensorRT weight role. 其他 TensorRT 权重角色。

Bias = 1

Bias weights for convolution-like layers. 卷积类层使用的 bias 权重。

Constant = 4

Constant layer weights. constant 层权重。

Kernel = 0

Kernel weights for convolution-like layers. 卷积类层使用的 kernel 权重。

Scale = 3

Scale weights for scale layers. scale 层使用的 scale 权重。

Shift = 2

Shift weights for scale layers. scale 层使用的 shift 权重。