out: out

View source: R/aux_fun.R

outR Documentation

out

Description

The function that returns the output layer size of a neural network. Denoted \mathsf{O}.

Usage

out(nu)

Arguments

nu

A neural network of the type generated by create_nn().

Value

An integer representing the output width of the 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)) |> out()

nnR documentation built on May 29, 2024, 2:02 a.m.

Related to out in nnR...