Welcome to our Support Center

Get all store gradient

Description

Gets for all layers contained in the model the status of the boolean “store_gradient?”. If the boolean is “True”, then the gradient of the layer is stored in memory.

Input parameters

 

Model in : model architecture.

Output parameters

 

Model out : model architecture.

store_gradient_array : array

index : integer, index of layer.
name : string, name of layer.
store_gradient? : boolean, returns the status of the layer’s gradient.

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