Get all inputs layers shape
Description
Gets the input form of the model.
Documentation illustration (illustration unavailable in the archive).
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.
Documentation illustration (illustration unavailable in the archive).
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.
Documentation illustration (illustration unavailable in the archive).
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 Deep Learning library to run it).
Using the “Get All Input Layer Shape” function
Documentation illustration (illustration unavailable in the archive).
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.
