Welcome to our Support Center

Get Layer Params by index

Description

Gets the parameter of the layer selected by the index given as input.

Input parameters

 

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

Output parameters

 

Model out : model architecture.

Β Layer Parameters :Β cluster

Β index :Β integer,Β index of layer.
Β name :Β string,Β name of layer.
Β layer_parameters :Β variant,Β layer parameters.

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

Using the β€œGet Layer Params by index” function

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 Layer Params by index” function to get the layer parameters at index 2.

Table of Contents