dep | R Documentation |
The function that returns the depth of a neural network. Denoted
\mathsf{D}
.
dep(nu)
nu |
a neural network of the type generated by create_nn(). Very straightforwardly it is the length of the list where neural networks are defined as an odered list of lists. |
Integer representing the depth of the neural network.
Definition 1.3.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.
create_nn(c(4, 5, 6, 2)) |> dep()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.