Hi, I am reading this 1 paper about pytorch . In section 3.1, they gave an example code:
y = x.tanh()
y.add_(3)
y.backward()

I could not understand the idea behind this code snippet. Does this snippet cause an error ? Or eventhough it does not cause an error, is it illegal to use such thing ?
Thanks