braindecode.modules.MaxNormLinear#
- class braindecode.modules.MaxNormLinear(in_features, out_features, bias=True, max_norm_val=2, eps=1e-05, **kwargs)[source]#
Linear layer with MaxNorm constraining on weights.
Equivalent of Keras tf.keras.Dense(…, kernel_constraint=max_norm()) [1] and [2]. Implemented as advised in [3].
- Parameters:
References