Welcome to our Support Center

Embedding

Description

Gets the weights of the Embedding layer selected by the index.Β Type : polymorphic.

 

Input parameters

 

Β Model in :Β model architecture.
Β index :Β integer,Β index of layer.

 

Output parameters

 

Β Model out :Β model architecture.

Β weights_info : cluster

Β index :Β integer,Β index of layer.
Β name :Β string,Β name of layer.
Β weights : cluster

embeddings : array, 2D values. embeddings = [input_dim, output_dim].

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 HAIBAL library to run it).

Table of Contents
Index