Welcome to our Support Center

Set all loss type by name

Description

Sets the loss of each layer contained in the model selected by the name.

Input parameters

 

Model in : model architecture.

loss_type_array : array

layer_name : string, name of layer.
 loss_type : enum, name of the losse used by the layer.
loss_axis : integer, the axis on which the losse performs its calculation.

Output parameters

 

Model out : model architecture.

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

Table of Contents