Get all training status
Description
Gets for all layers contained in the model the state of the boolean “training_status”. If the boolean is “True”, then a layer backward is performed.
Documentation illustration (illustration unavailable in the archive).
Input parameters
Model in : model architecture.
Output parameters
Model out : model architecture.
training_status_array : array
index : integer, index of layer.
name : string, name of layer.
Documentation illustration (illustration unavailable in the archive). training_status : boolean, returns the training status.
Documentation illustration (illustration unavailable in the archive).
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 Deep Learning library to run it).
Using the “Get All Train Status” function
Documentation illustration (illustration unavailable in the archive).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 All Train Status” function to get the value of the “training?” parameter for all layers of the model.
