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

A Full-Featured Open-Source Framework for Image Processing



Latest stable version: 3.6.6        Current pre-release: 3.7.0 (2026/01/22)

Reference
Table of Contents  ▸  List of Commands  ▸  Neural Networks  ▸  nn_nl◀  nn_network    |    nn_noise  ▶

nn_nl

Arguments:

  • out,in,_activation

Description:

Add a nl layer (nonlinearity) to the current network.

activation can be { elu | gelu | leakyrelu | linear | relu | sigmoid | sin | sinc | softmax | softmax_x | softmax_y | softmax_z | softmax_c | msqr | sqrt | swish | tanh }.

Default values:

activation=leakyrelu.

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.