ZeroPadding2D
Constructs an instance of ZeroPadding2D layer
Parameters
symmetric padding applied to width and height (same on all sides)
one of org.jetbrains.kotlinx.dl.api.inference.keras.CHANNELS_FIRST or org.jetbrains.kotlinx.dl.api.inference.keras.CHANNELS_LAST, depending on dataFormat of input to this layer
layer name
Constructs an instance of ZeroPadding2D layer
Parameters
pair of padding values - padding.first represents vertical padding (applied to top and bottom of image, and padding.last is horizontal padding (left and right sides)
one of CHANNELS_FIRST or CHANNELS_LAST, depending on dataFormat of input to this layer
layer name
Constructs an instance of ZeroPadding2D layer
Parameters
list of padding values. Size of list must be equal to 4. Those list values maps to the following paddings: padding0 -> top padding, padding1 -> bottom padding, padding2 -> left padding, padding3 -> right padding
one of org.jetbrains.kotlinx.dl.api.inference.keras.CHANNELS_FIRST or org.jetbrains.kotlinx.dl.api.inference.keras.CHANNELS_LAST, depending on dataFormat of input to this layer
layer name