com.intel.analytics.zoo.pipeline.api.keras.layers
Build graph: some other modules point to current module
Build graph: some other modules point to current module
upstream variables
Variable containing current module
Initialization method for the weights of the layer.
Initialization method for the weights of the layer. Default is RandomUniform. You can also pass in corresponding string representations such as 'uniform' or 'normal', etc. for simple init methods in the factory method.
Tensor.
Tensor. Initial weights set to this layer, which should be a Tensor of size (inputDim, outputDim). Default is null and in this case weights are initialized by the initialization method specified by 'init'. Otherwise, 'weights' will override 'init' to take effect.
(Since version 0.3.0) please use recommended saveModule(path, overWrite)
Embedding layer that directly loads pre-trained word vectors as weights. Turn non-negative integers (indices) into dense vectors of fixed size. Currently only GloVe embedding is supported. The input of this layer should be 2D.
This layer can only be used as the first layer in a model, you need to provide the argument inputShape (a Single Shape, does not include the batch dimension).