public interface SpatialPadding2D<T extends Tensor<T>> extends VTensor
| Modifier and Type | Method and Description |
|---|---|
int |
getPaddingCol0()
Returns the lower-extent padding along the tensor's columns.
|
int |
getPaddingCol1()
Returns the upper-extent padding along the tensor's columns.
|
int |
getPaddingRow0()
Returns the lower-extent padding along the tensor's rows.
|
int |
getPaddingRow1()
Returns the upper-extent padding along the tensor's rows.
|
java.lang.Class<T> |
getTensorType()
Returns the type of input tensor it can process
|
void |
setInput(T input)
Spatial tensor that padding is being added around
|
int[] |
shapeGivenInput(int... inputShape)
Returns what the tensor's shape will be when given can input tensor with
the spcified shape.
|
createCoor, getDataType, getDimension, getShape, isShape, lengthvoid setInput(T input)
input - The input tensorint getPaddingRow0()
int getPaddingCol0()
int getPaddingRow1()
int getPaddingCol1()
int[] shapeGivenInput(int... inputShape)
inputShape - Input spatial tensor. 3-DOF with no mini-batch or 4-DOF with mini-batchjava.lang.Class<T> getTensorType()