Enum TensorRtInterpolationMode
- Namespace
- JYPPX.TensorRtSharp
- Assembly
- JYPPX.TensorRtSharp.dll
Selects the TensorRT interpolation algorithm for resize and grid-sample style layers. 选择 TensorRT resize / grid-sample 等层使用的插值算法。
public enum TensorRtInterpolationMode
Fields
Cubic = 2Cubic interpolation. 三次插值。
Linear = 1Linear interpolation; TensorRT maps this to linear, bilinear, or trilinear by rank. 线性插值;TensorRT 会按张量维度映射为 linear、bilinear 或 trilinear。
Nearest = 0Nearest-neighbor interpolation. 最近邻插值。