Welcome to our Support Center

Load All Weights

Description

Load weights in the model. The table of weights is authentic, it defines the indexes for which weights are loaded, the others will be initialized randomly. You can choose to display a log file in .txt or .csv format to resume the model architecture and the loading of weights.

Input parameters

 

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

weight_array : array

index : integer, index of layer.
weight : variant, weight value.

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