Welcome to our Support Center

Load all weights model

Description

Load the weights of a model. By default, all layer weights will be loaded but if you set “RANDOM” to a specific index in “init_weight_array”, the selected layer will be randomly initialized.

Input parameters

 

Model in : model architecture.
weights_model : model architecture.
 file_type : enum, type of the log file.

 init_weight_array : array

 index : integer, index of layer.
 init_weight : enum, weight initialization mode.

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