lay {nnR}R Documentation

lay

Description

The function that returns the layer architecture of a neural network.

Usage

lay(nu)

Arguments

nu

A neural network of the type generated by create_nn(). Denoted \mathsf{L}.

Value

A tuple representing the layer architecture of our neural network.

References

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.

Examples

create_nn(c(4, 5, 6, 2)) |> lay()

[Package nnR version 0.1.0 Index]