public class ClippedPadding2D_F64 extends SpatialPadding2D_F64 implements ClippedPadding2D<Tensor_F64>
ConstantPadding2D_F64.COL0, COL1, config, input, ROW0, ROW1shape| Constructor and Description |
|---|
ClippedPadding2D_F64(ConfigPadding config) |
| Modifier and Type | Method and Description |
|---|---|
double |
borderGet(int minibatch,
int channel,
int row,
int col)
Handles coordinates outside the input image
|
int |
getClippingOffsetCol(int paddedCol)
Returns how far away the column is from the clipping border.
|
int |
getClippingOffsetRow(int paddedRow)
Returns how far away the row is from the clipping border.
|
java.lang.Class<Tensor_F64> |
getTensorType()
Returns the type of input tensor it can process
|
boolean |
isClipped()
Returns true if this is a clipped border or false of it is not.
|
get, get, get, get, get, get, getDataTypecheckBackwardsShapeChannel, checkBackwardsShapeImage, getPaddingCol0, getPaddingCol1, getPaddingRow0, getPaddingRow1, setInput, shapeGivenInputcreateCoor, getDimension, getShape, isShape, lengthclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPaddingCol0, getPaddingCol1, getPaddingRow0, getPaddingRow1, setInput, shapeGivenInputcreateCoor, getDataType, getDimension, getShape, isShape, lengthpublic ClippedPadding2D_F64(ConfigPadding config)
public double borderGet(int minibatch,
int channel,
int row,
int col)
SpatialPadding2D_F64borderGet in class SpatialPadding2D_F64public int getClippingOffsetRow(int paddedRow)
SpatialPadding2DgetClippingOffsetRow in interface SpatialPadding2D<Tensor_F64>paddedRow - Row in padded coordinatespublic int getClippingOffsetCol(int paddedCol)
SpatialPadding2DgetClippingOffsetCol in interface SpatialPadding2D<Tensor_F64>paddedCol - Column in padded coordinatespublic boolean isClipped()
SpatialPadding2DisClipped in interface SpatialPadding2D<Tensor_F64>public java.lang.Class<Tensor_F64> getTensorType()
SpatialPadding2DgetTensorType in interface SpatialPadding2D<Tensor_F64>