ZeroPadding2D
Zero-padding layer for 2D input (e.g. picture). This layer can add rows and columns of zeros at the top, bottom, left and right side of an image tensor.
Constructors
ZeroPadding2D
Link copied to clipboard
Constructs an instance of ZeroPadding2D layer
ZeroPadding2D
Link copied to clipboard
ZeroPadding2D
Link copied to clipboard
fun ZeroPadding2D(padding: IntArray, dataFormat: String?, name: String = "")
Content copied to clipboard
Constructs an instance of ZeroPadding2D layer
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
hasActivation
Link copied to clipboard
inboundLayers
Link copied to clipboard
isTrainable
Link copied to clipboard
outboundLayers
Link copied to clipboard
outputShape
Link copied to clipboard
paramCount
Link copied to clipboard
parentModel
Link copied to clipboard