Welcome to our Support Center

Set Store Grad by index

Description

Sets the boolean “store_gradient ? ” of the layer selected by the index given as input. If the boolean is “True”, then the gradient of the previous iteration of the layer is stored in memory.

Input parameters

 

Model in : model architecture.
 index : integerlayer index.
store_gradient? : boolean, stores in memory the gradiant if true.

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

Table of Contents