Welcome to our Support Center

Get all inputs layers shape

Description

Gets the input form of the model.

Input parameters

 

Model in : model architecture.

Output parameters

 

Model out : model architecture.

input : cluster

name : string, name of layer.
index : integer, index of layer.
input_order : integer, order of entry.
 input_shape : array, size of the input.

input_array : array

name : string, name of layer.
index : integer, index of layer.
input_order : integer, order of entry.
 input_shape : array, size of the input.

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 Input Layer Shape” function

1 – Define Graph

We define two graphs with two dense layers each and an input of different size.

2 – Merge Function

We use the “Merge” function to merge the two graphs.

3 – Get Function

We use the function “Get All Input Layer Shape” to get the input(s) form of the model.

Table of Contents