Welcome to our Support Center

Get training status by index


Gets the boolean β€œtraining_status” of layer selected by index given as input. If the boolean is β€œTrue”, then a layer backward is performed.

Input parameters


Model in : model architecture.
Β index :Β integer,Β layer index.

Output parameters


Model out : model architecture.

training_status : cluster

index : integer, index of layer.
name : string, name of layer.
Β training_status :Β boolean,Β returns the training status.


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 β€œGet Train Status by index” function

1 – Define Graph

We define the graph with one input and two Dense layers named Dense1 and Dense2 parameterized in different ways.

2 – Get Function

We use the “Get Train Status by index” function to get the value of the “training?” parameter of layer at index 2.

Table of Contents