com.intel.analytics.zoo.pipeline.api.keras.layers
An instance of a recurrent layer.
Mode by which outputs of the forward and backward RNNs will be combined. Must be one of: 'sum', 'mul', 'concat', 'ave'. Default is 'concat'.
A Single Shape, does not include the batch dimension.
Build graph: some other modules point to current module
Build graph: some other modules point to current module
upstream variables
Variable containing current module
A Single Shape, does not include the batch dimension.
A Single Shape, does not include the batch dimension.
An instance of a recurrent layer.
An instance of a recurrent layer.
Mode by which outputs of the forward and backward RNNs will be combined.
Mode by which outputs of the forward and backward RNNs will be combined. Must be one of: 'sum', 'mul', 'concat', 'ave'. Default is 'concat'.
(Since version 0.3.0) please use recommended saveModule(path, overWrite)
Bidirectional wrapper for RNNs. Bidirectional currently requires RNNs to return the full sequence, i.e. returnSequences = true.
When using this layer as the first layer in a model, you need to provide the argument inputShape (a Single Shape, does not include the batch dimension).
Example of creating a Bidirectional LSTM: Bidirectional(LSTM(12, returnSequences = true), mergeMode = "sum", inputShape = Shape(32, 32))
The numeric type of parameter(e.g. weight, bias). Only support float/double now.