Methods
# inner convolutionalLayer(filters, kernelSize, activation) → {Conv1D}
Creates a 1D convolution layer.
Parameters:
Name | Type | Description |
---|---|---|
filters |
Number
|
The dimensionality of the output space (i.e. the number of filters in the convolution). |
kernelSize |
Array.<Number>
|
null
|
The dimensions of the convolution window. If kernelSize is a number, the convolutional window will be square. |
activation |
String
|
('elu'|'hardSigmoid'|'linear'|'relu'|'relu6'| 'selu'|'sigmoid'|'softmax'|'softplus'|'softsign'|'tanh'|'swish'|'mish'|'gelu'|'gelu_new') Activation function of the layer. |
tf.layers.conv1d({filters, kernelSize, activation}).
Conv1D