Just one additional question related to the same tutorial:
How to use the ‘grad_fn’ attribute of the ‘loss’ variable in order to show the computational graph like this:
input -> conv2d -> relu -> maxpool2d -> conv2d -> relu -> maxpool2d
-> view -> linear -> relu -> linear -> relu -> linear
-> MSELoss
-> loss
Unfortunately, it is not described how to generate such graph trace using ‘grad_fn’.