public abstract class SpatialPadding2D_F64 extends BaseSpatialPadding2D<Tensor_F64> implements VTensor_F64
BaseSpatialPadding2D. Provides
accessors for spatial tensors.COL0, COL1, config, input, ROW0, ROW1shape| Constructor and Description |
|---|
SpatialPadding2D_F64(ConfigPadding config) |
| Modifier and Type | Method and Description |
|---|---|
abstract double |
borderGet(int minibatch,
int channel,
int row,
int col)
Handles coordinates outside the input image
|
double |
get(int... coor)
Returns the element's value at the specified coordinate.
|
double |
get(int axis0)
Invalid accessor.
|
double |
get(int axis1,
int axis0)
Invalid accessor.
|
double |
get(int axis2,
int axis1,
int axis0)
Invalid accessor.
|
double |
get(int minibatch,
int channel,
int row,
int col)
Returns the value of the virtual padded tensor at the specified coordinate.
|
double |
get(int axis4,
int axis3,
int axis2,
int axis1,
int axis0)
Invalid accessor.
|
java.lang.Class |
getDataType()
Class of primitive data type used to store tensor |
checkBackwardsShapeChannel, checkBackwardsShapeImage, getPaddingCol0, getPaddingCol1, getPaddingRow0, getPaddingRow1, setInput, shapeGivenInputcreateCoor, getDimension, getShape, isShape, lengthclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateCoor, getDimension, getShape, isShape, lengthgetClippingOffsetCol, getClippingOffsetRow, getTensorType, isClippedpublic SpatialPadding2D_F64(ConfigPadding config)
public abstract double borderGet(int minibatch,
int channel,
int row,
int col)
public double get(int... coor)
get in interface VTensor_F64coor - coordinate at ordered from axis-(N-1) to axis-0public double get(int axis0)
get in interface VTensor_F64axis0 - coordinate at axis-0public double get(int axis1,
int axis0)
get in interface VTensor_F64axis1 - coordinate at axis-1axis0 - coordinate at axis-0public double get(int axis2,
int axis1,
int axis0)
get in interface VTensor_F64axis2 - coordinate at axis-2axis1 - coordinate at axis-1axis0 - coordinate at axis-0public double get(int minibatch,
int channel,
int row,
int col)
get in interface VTensor_F64minibatch - mini-batch numberchannel - channel in spatial tensorrow - Row in padded coordinatescol - Column in padded coordinatespublic double get(int axis4,
int axis3,
int axis2,
int axis1,
int axis0)
get in interface VTensor_F64axis4 - coordinate at axis-4axis3 - coordinate at axis-3axis2 - coordinate at axis-2axis1 - coordinate at axis-1axis0 - coordinate at axis-0public java.lang.Class getDataType()
ITensorClass of primitive data type used to store tensorgetDataType in interface ITensor