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 = 5Any other TensorRT weight role. 其他 TensorRT 权重角色。
Bias = 1Bias weights for convolution-like layers. 卷积类层使用的 bias 权重。
Constant = 4Constant layer weights. constant 层权重。
Kernel = 0Kernel weights for convolution-like layers. 卷积类层使用的 kernel 权重。
Scale = 3Scale weights for scale layers. scale 层使用的 scale 权重。
Shift = 2Shift weights for scale layers. scale 层使用的 shift 权重。