Welcome to our Support Center

Get all index/name

Description

Gets the index and name of all layers contained in the model.

Input parameters

 

Model in : model architecture.

Output parameters

 

Model out : model architecture.

index_array : array

index : integer, index of layer.
name : string, name of layer.

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 All Index/Name” function

1 – Define Graph

We define the graph with one input and two Dense layers named Dense1 and Dense2.

2 – Get Function

We use the function “Get All Index/Name” to get the indexes and names of all layers contained in the model.

Table of Contents