Welcome to our Support Center

Dense

Description

Adds the weights of the Dense layer to the weights table. Type : polymorphic.

 

Input parameters

 

Weights in : array

Β index :Β integer,Β index of layer.
Β weights :Β variant,Β weights values.

Β index :Β integer,Β index of layer.
Β weights :Β array,Β 2D values. weights = [input_dim, units].
Β biases :Β array,Β 1D values. biases = [units].

Output parameters

 

Β Weights out : array

Β index :Β integer,Β index of layer.
Β weights :Β variant,Β weights values.

Dimension

  • weights = [input_dim, units]

The size of weights depends on the input of theΒ DenseΒ layer and the parameters units.
For example if the input of the layer has a size of [batch_size = 10, input_dim = 5] and units the value 3 then weights will have a size of [input_dim = 5, units = 3].

 

  • biases = [units]

The size of biases depends on the parameter units of theΒ DenseΒ layer.

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