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
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.
Arguments
nu_1
A neural network.
nu_2
A neural network.
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.