Welcome to our Support Center

Set β€œlda_coeff” by name

Description

Sets the loss derivative attenuation coefficient of layer selected by the name given as input.

Input parameters

 

Model in : model architecture.
 name : stringlayer name.
lda_coeff : float, loss derivative attenuation coefficient value.

Output parameters

 

Model out : model architecture.

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

Using the β€œSet lda_coeff by name” function

1 – Define Graph

We define the graph with one input and two Dense layers named Dense1 and Dense2. We set the Dense1 layer with a β€œlda_coeff” equal to 2 and the Dense2 layer with a β€œlda_coeff” equal to 5.

2 – Get Function

We use the β€œSet lda_coeff by index” function to set the loss derivative attenuation of the layer named Dense2 with the value 1.

2 – Get Function

We use the β€œGet All lda_coeff” function to get the value of this parameter for all layers in the model.

Table of Contents