ZeroPadding1D

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

Constructs an instance of ZeroPadding1D layer

Parameters

padding

symmetric padding applied to width(same on all sides)

name

layer name

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

Constructs an instance of ZeroPadding1D layer

Parameters

padding

triple of padding values - padding.first represents padding on left side and padding.second is padding on right side

name

layer name

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

Constructs an instance of ZeroPadding1D layer

Parameters

padding

list of padding values. Size of list must be equal to 2. Those list values maps to the following paddings: padding0 -> left padding, padding1 -> right padding,

name

layer name