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 file on which the summary is written.

    • None :Β returns the summary only in a cluster array.
    • txt :Β returns the summary in a text file and cluster array. (default)
    • csv :Β returns the summary in a comma-separated values (csv) file and cluster array.

Β 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 Deep Learning library to run it).

Table of Contents