Exercise R.5.7
Gradients: counterexample for swapping gradient and sum
Show that it is not always the case that one can switch gradients and sums by providing a counterexample.
Hint: Take the sum 1+2 and express it using notation.
Gradients: counterexample for swapping gradient and sum
Show that it is not always the case that one can switch gradients and sums by providing a counterexample.
Hint: Take the sum 1+2 and express it using notation.