A function that creates the \(\mathsf{Nrm}\) neural networks.that take
the 1- norm of a \(d\)-dimensional vector when instantiated with ReLU
activation.
Usage
Nrm(d)
Value
a neural network that takes the 1-norm of a vector of
size d.under ReLU activation.
Note: This function is split into two cases
much like the definition itself.
Note: If you choose to specify a \(d\) other that \(0\) you must instantiate with
a vector or list of that length.
For a specific definition, see:
Arguments
d
the dimensions of the vector or list being normed.
References
Lemma 4.2.1. Jentzen, A., Kuckuck, B., and von Wurstemberger, P. (2023).
Mathematical introduction to deep learning: Methods, implementations,
and theory. https://arxiv.org/abs/2310.20360