Welcome to our Support Center

Get gradient by index

Description

Gets the weights of the selected layer by the index of this layer.

Input parameters

 

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

Output parameters

 

Model out : model architecture.

gradient : cluster

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