Welcome to our Support Center

Forward by name

Description

Execute the forward pass of the model (alls layers).

Input parameters

 

Model in : model architecture.

data in : array

name : string, name of input layer.
input_data : variant, input(s) data of the model.

train_mode : enum

  • Nothing :Β do nothing.
  • Training :Β Sets the β€œtraining?” parameter to true for all layers of the model.
  • Predict :Β Sets the β€œtraining?” parameter to false for all layers of the model.

 

Output parameters

 

Model out : model architecture.

outputs_data : array

Β name :Β string,Β name of layer.
Β index :Β integer,Β index of layer.
Β shape :Β array,Β shape of layer.
Β data :Β variant,Β output layer predictions.

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

Tags:
Table of Contents