Convolution 2D layer
This card is a wrapper of this Keras class.
Note: the backend for building and training neural networks is based on Keras. The documentation of this card is a variant of the documentation of its corresponding class.
Inputs
-
Filters — Integer
The dimensionality of the output space (i.e. the number of output filters in the convolution).
-
Kernel size — List of Integer
A list of 2 integers, specifying the height and width of the 2D convolution window.
-
Strides — List of Integer
A list of 2 integers, specifying the strides of the convolution along the height and width. Specifying any value different than “1” is incompatible with specifying any Dilation rate different than “1”.
-
Padding — String
The padding algorithm.
-
Data format — String
The ordering of the dimensions in the inputs.
-
Dilation rate — List of Integer
A list of 2 integers, specifying the dilation rate to use for dilated convolution. Specifying any value different than “1” is incompatible with specifying any Strides different than “1”.
-
Use bias — Boolean
Whether the layer uses a bias vector.
-
Activation — String
Activation function to use.
-
Kernel initializer — NeuralNetworkInitializer
Initializer for the kernel weights matrix. If not specified, then Glorot uniform initializer is used.
-
Bias initializer — NeuralNetworkInitializer
Initializer for the bias vector. If not specified, then Zeros initializer is used.
-
Kernel regularizer — NeuralNetworkRegularizer
Regularizer function applied to the kernel weights matrix.
-
Bias regularizer — NeuralNetworkRegularizer
Regularizer function applied to the bias vector.
-
Activity regularizer — NeuralNetworkRegularizer
Regularizer function applied to the output of the layer (its “activation”).
-
Kernel constraint — NeuralNetworkConstraint
Constraint function applied to the kernel weights matrix.
-
Bias constraint — NeuralNetworkConstraint
Constraint function applied to the bias vector.
-
Input — NeuralNetworkTensor
Input of this layer.
Outputs
-
Layer instance — NeuralNetworkLayer
Instance of this layer. It can be wrapped using a Bidirectional or a TimeDistributed wrapper.
-
Output — NeuralNetworkTensor
Output of this layer.