ZeroPadding3D

fun ZeroPadding3D(padding: Int, name: String = "")

Constructs an instance of ZeroPadding3D layer

Parameters

padding

symmetric padding applied to width, height and depth (same on all sides)

name

layer name

fun ZeroPadding3D(padding: Triple<Int, Int, Int>, name: String = "")

Constructs an instance of ZeroPadding3D layer

Parameters

padding

triple of padding values - Triple.first represents vertical padding (applied to top and bottom of image, and Triple.second is horizontal padding (left and right sides), Triple.third is depth padding

name

layer name

fun ZeroPadding3D(padding: Array<Pair<Int, Int>>, name: String = "")

Constructs an instance of ZeroPadding3D layer

Parameters

padding

list of a pair of padding values [padding0] represents the first pair(applied to vertical), [padding1] is horizontal padding, [padding2] is the depth padding.

name

layer name

fun ZeroPadding3D(padding: IntArray, name: String = "")

Constructs an instance of ZeroPadding3D layer

Parameters

padding

list of padding values. Size of list must be equal to 6. Those list values maps to the following paddings: padding0 -> top padding, padding1 -> bottom padding, padding2 -> left padding, padding3 -> right padding, padding4 -> front padding, padding5 -> back padding

name

layer name