Cropping2D
class Cropping2D(cropping: Array<IntArray>, name: String) : AbstractCropping
Content copied to clipboard
Cropping layer for 2D data (e.g. images)
Crops input along the second and third dimensions (i.e. spatial dimensions).
Input shape: 4D tensor with shape (batch_size, rows, cols, channels)
.
Output shape: 4D tensor with shape (batch_size, cropped_rows, cropped_cols, channels)
.
Constructors
Cropping2D
Link copied to clipboard
Functions
buildFromInboundLayers
Link copied to clipboard
Extend this function to define variables in layer.
computeOutputShape
Link copied to clipboard
Computes output shape, based on inputShape and Layer type.
computeOutputShapeFromInboundLayers
Link copied to clipboard
Computes output shape, based on input shapes of inbound layers.
forward
Link copied to clipboard
Properties
croppingInternal
Link copied to clipboard
hasActivation
Link copied to clipboard
inboundLayers
Link copied to clipboard
outboundLayers
Link copied to clipboard
outputShape
Link copied to clipboard
parentModel
Link copied to clipboard