Welcome to our Support Center

Convolution 1D

Description

Gets the weights of the Conv1D layer selected by the index. Type : polymorphic.

 

Input parameters

 

 Model in : model architecture.
 index : integerindex of layer.

 

Output parameters

 

 Model out : model architecture.

 weights_info : cluster

 index : integer, index of layer.
 name : string, name of layer.
 weights : cluster

filters : array, 3D values. filters = [n_filters, channel, size].
biases : array, 1D values. biases = [n_filters].

Dimension

  • filters = [n_filters, channel, size]

The size of filters depends on the input of the Conv1D layer and the parameters n_filters and size.
For example, if the input of the layer has a size of [batch_size = 10, channel = 5, width = 2], n_filters has the value 6 and size the value 3 then filters will have a size of [n_filters = 6, channel = 5, size = 3].

 

  • biases = [n_filters]

The size of biases depends on the parameter n_filters of the Conv1D layer.

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