Enum PadMode
Options for the padding values for Pad
.
Namespace: Unity.Sentis.Layers
Syntax
public enum PadMode
Fields
Name | Description | Value |
---|---|---|
Constant | Use a constant value for the padded data. |
0 |
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. |
1 |
Edge | Use the edge values of the input tensor. |
2 |
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. |
3 |