Enum PadMode
Options for the padding values for Pad.
Namespace: Unity.Sentis.Layers
Assembly: Unity.Sentis.dll
Syntax
public enum PadMode
Fields
| Name | Description |
|---|---|
| Constant | Use a constant value for the padded data. |
| Edge | Use the edge values of the input tensor. |
| Reflect | Use the reflection of the values of the input tensor mirrored on the first and last values along the axis. The edge values appear once in the output tensor. |
| Symmetric | Use the reflection of the values of the input tensor mirrored half a step outside the first and last values along the axis. The edge values appear twice in the output tensor. |
| Wrap | Wrap the values of the input tensor like a torus for the padded data. |