Attention

Description

Returns the Attention layer weights. Type : polymorphic.

 

Documentation illustration (illustration unavailable in the archive).

Input parameters

 

 weights : cluster

 index : integer, index of layer.
 name : string, name of layer.
Documentation illustration (illustration unavailable in the archive). weight : variant, weight of layer.

​

Documentation illustration (illustration unavailable in the archive).

Output parameters

 

 weights_info : cluster

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

scale : float, scale value.

Documentation illustration (illustration unavailable in the archive).

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).