G'MIC - GREYC's Magic for Image Computing: A Full-Featured Open-Source Framework for Image Processing
GREYC CNRS ENSICAEN UNICAEN

A Full-Featured Open-Source Framework for Image Processing



Latest stable version: 3.5.3        Current pre-release: 3.5.4 (2025/04/16)

Reference

Table of Contents  ▸  List of Commands  ▸  Neural Networks  ▸  nn_conv2dnnl◀  nn_conv2dnl    |    nn_conv3d  ▶

nn_conv2dnnl

Arguments:

Description:

Add a conv2dnnl (2D convolutional layer followed by a normalization layer, then a non-linearity) to the current network.

boundary_conditions can be { 0:Dirichlet | 1:Neumann | 2:Periodic | 3:Mirror }.
learning_mode can be { 0:No learning | 1:Weights only | 2:Biases only | 3:Weights+biases }.
initialization can be { 0:Zero | 1:Identity | 2:Lecun-initialization | 3:He-initialization }.

Default values:

kernel_size=3, stride=1, dilation=1, shrink=0, boundary_conditions=1, activation=leakyrelu, learning_mode=3, regularization=0 and initialization=2.

G'MIC - GREYC's Magic for Image Computing: A Full-Featured Open-Source Framework for Image Processing

G'MIC is an open-source software distributed under the CeCILL free software licenses (LGPL-like and/or
GPL-compatible). Copyrights (C) Since July 2008, David Tschumperlé - GREYC UMR CNRS 6072, Image Team.