https://github.com/oreilly-japan/deep-learning-from-scratch/blob/master/ch04/gradient_simplenet.py

これの f という関数が意味不明です。引数の w を利用していません。

詳しい解説をお願いします。