Get parameters by name
Description
Gets the parameter of the layer selected by the name given as input.
Documentation illustration (illustration unavailable in the archive).
Input parameters
Model in : model architecture.
name : string, layer name.
Output parameters
Model out : model architecture.
Layer Parameters : cluster
index : integer, index of layer.
name : string, name of layer.
Documentation illustration (illustration unavailable in the archive). layer_parameters : variant, layer parameters.
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 Layer Params by name” function
Documentation illustration (illustration unavailable in the archive).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 name” function to get the layer parameters named Dense2.
