Padding Layers#
Spatial padding operations with various boundary conditions. Supports reflection, replication, zero, constant value, and circular padding for 1D, 2D, and 3D inputs. Essential for controlling output sizes in convolutional networks and handling edge effects.
Pads the input tensor using the reflection of the input boundary. |
|
Pads the input tensor using the reflection of the input boundary. |
|
Pads the input tensor using the reflection of the input boundary. |
|
Pads the input tensor using replication of the input boundary. |
|
Pads the input tensor using replication of the input boundary. |
|
Pads the input tensor using replication of the input boundary. |
|
Pads the input tensor with zeros. |
|
Pads the input tensor with zeros. |
|
Pads the input tensor with zeros. |
|
Pads the input tensor with a constant value. |
|
Pads the input tensor with a constant value. |
|
Pads the input tensor with a constant value. |
|
Pads the input tensor using circular padding (wrap around). |
|
Pads the input tensor using circular padding (wrap around). |
|
Pads the input tensor using circular padding (wrap around). |