nn_sum {nnR} | R Documentation |
nn_sum
Description
A function that performs the neural network sum for two neural networks of the type generated by create_nn().
For a specific definition, see:
Usage
nn_sum(nu_1, nu_2)
nu_1 %nn_sum% nu_2
Arguments
nu_1 |
A neural network. |
nu_2 |
A neural network. |
Value
A neural network that is the neural network sum of \nu_1
and \nu_2
i.e. \nu_1 \oplus \nu_2
.
Note: We have two versions, an infix version and a prefix version.
References
Proposition 2.25. Grohs, P., Hornung, F., Jentzen, A. et al. Space-time error estimates for deep neural network approximations for differential equations. (2019). https://arxiv.org/abs/1908.03833.
Examples
Prd(2.1, 0.1) |> nn_sum(Prd(2.1, 0.1))
[Package nnR version 0.1.0 Index]