Nrm | R Documentation |
A function that creates the \mathsf{Nrm}
neural networks.that take
the 1- norm of a d
-dimensional vector when instantiated with ReLU
activation.
Nrm(d)
d |
the dimensions of the vector or list being normed. |
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:
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
Nrm(2) |> inst(ReLU, c(5,6))
Nrm(5) |> inst(ReLU,c(0,-9,3,4,-11))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.