Welcome to our Support Center

Set All “lda_coeff”

Description

Sets the loss derivative attenuation coefficient of all layers contained in the model.

Input parameters

 

Model in : model architecture.
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 All lda_coeff” 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 – Set Function

We use the function “Set All lda_coeff” to set the loss derivative attenuation of all layers of the model with the value 1.

3 – 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