Embedding
Description
Adds the weight of the Embedding layer to the weights table. Type : polymorphic.
Documentation illustration (illustration unavailable in the archive).
Input parameters
Weights in : array
index : integer, index of layer.
Documentation illustration (illustration unavailable in the archive). weights : variant, weights values.
Documentation illustration (illustration unavailable in the archive).
index : integer, index of layer.
embeddings : array, 2D values. embeddings = [input_dim, output_dim].
Output parameters
Weights out : array
index : integer, index of layer.
Documentation illustration (illustration unavailable in the archive). weights : variant, weights values.
Documentation illustration (illustration unavailable in the archive).
Dimension
- embeddings = [input_dim, output_dim]
The size depends on the input_dim and output_dim parameters of the Embedding layer.
For example if the input_dim parameter has the value 5 and the output_dim parameter has the value 3 then the size of embeddings will be [input_dim = 5, output_dim = 3].
Example
All these exemples are snippets PNG, you can drop these Snippet onto the block diagram and get the depicted code added to your VI (Do not forget to install Deep Learning library to run it).
