Welcome to our Support Center



Returns the PReLU2D layer weights. Type : polymorphic.


Input parameters


Β weights : cluster

Β index :Β integer,Β index of layer.
Β name :Β string,Β name of layer.
Β weight :Β variant,Β weight of layer.

Output parameters


Β weights_info : cluster

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

Β alpha :Β array,Β 1D values. alpha = [input_dim].


  • alpha = [input_dim]

Its size depends on the input of theΒ PReLUΒ layer.
For example, if the layer has an entry [batch_size = 10, input_dim = 5] then alpha will have a size [input_dim = 5].
The size can also depend on the β€œshared_axis” parameter that you set to theΒ PReLUΒ layer. Each axis specified in this param is represented by a 1 in the weights.
For example, if you set the parameter with the values [1], alpha will have a size [1].


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