Keraflow
Deep Learning for Python.
|
Zero-padding layer for (sequence_length, input_dim) inputs. More...
Public Member Functions | |
def | __init__ |
Zero-padding layer for (sequence_length, input_dim) inputs.
(nb_samples, sequence_length, input_dim)
(nb_samples, sequence_length+2*pad, input_dim)
def keraflow.layers.convolution.ZeroPadding1D.__init__ | ( | self, | |
pad, | |||
kwargs | |||
) |
pad | int or 2D tuple of int. Number of zeros to pad at the beginning and end of the padding dimension (sequence dimension). If a tuple such as (1,2) is used, we pad 1 zero at the beginning and 2 zeros at the end. |
kwargs | see Layer.__init__. |