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
Index