Welcome to our Support Center

Get all gradient

Description

Gets the gradients of all layers contained in the model.

Input parameters

 

Model in : model architecture.

Output parameters

 

Model out : model architecture.

gradient_array : array

index : integer, index of layer.
name : string, name of layer.
gradient : variant, returns a table with 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