Convolutional Layer 2D
This function block is used to create a 2D convolutional layer in a neural network. It allows users to configure settings for various convolution parameters, making it adaptable for different use cases.
π₯ Inputs
This function block does not have any direct inputs.
π€ Outputs
This function block does not produce any outputs.
πΉοΈ Controls
Filter Size
The number of filters to use in the convolution layer, which determines how many feature maps will be produced.
Kernel Size
The dimensions of the convolution kernel, which should always be an odd number (e.g., 1, 3, 5).
Dilation Size
The dilation rate for the convolutional layer. A dilation of -1
indicates default behavior. Dilation size can help reduce the parameter size of convolutional layers.
Activation Function
A dropdown menu allowing you to choose an activation function to apply to the layer's output, with options like ReLU, sigmoid, and softmax among others.
π¨ Features
Flexible Configuration
Users can adjust filter size, kernel size, dilation size, and activate functions according to specific model requirements.
Validation Checks
The function block checks for valid parameters (e.g., kernel size must be odd) and provides error logging for invalid inputs.
π Usage Instructions
Configure Filter Size: Set the desired number of filters using the
Filter Size
input.Set Kernel Size: Enter the kernel size using the
Kernel Size
input, ensuring it is an odd number.Adjust Dilation Size: Specify the dilation rate if necessary or leave it as the default setting by entering
-1
.Select Activation Function: Choose the desired activation function from the dropdown menu.
Integrate into Model: Use this block as part of a larger neural network configuration.
π Evaluation
Upon evaluation, this function block generates a configuration for a 2D convolutional layer according to the supplied parameters.
π‘ Tips and Tricks
π οΈ Troubleshooting
Last updated