Table of Contents

Enum TensorRtSampleMode

Namespace
JYPPX.TensorRtSharp
Assembly
JYPPX.TensorRtSharp.dll

Controls how TensorRT samples out-of-bounds coordinates. 控制 TensorRT 对越界坐标的采样策略。

public enum TensorRtSampleMode

Fields

Clamp = 2

Clamp out-of-bounds coordinates to the valid range. 将越界坐标钳制到有效范围。

Fill = 3

Use the configured fill value for out-of-bounds coordinates. 越界坐标使用填充值。

Reflect = 4

Reflect coordinates at the tensor boundary. 在张量边界处反射坐标。

StrictBounds = 0

Fail when coordinates are out of bounds. 坐标越界时失败。

Wrap = 1

Wrap coordinates periodically. 周期性回绕坐标。