Exercise

# Backpropagation using PyTorch

Here, you are going to use automatic differentiation of PyTorch in order to compute the derivatives of `x`

, `y`

and `z`

from the previous exercise.

Instructions

**100 XP**

- Initialize tensors
`x`

,`y`

and`z`

to values 4, -3 and 5. - Put the sum of tensors
`x`

and`y`

in`q`

, put the product of`q`

and`z`

in`f`

. - Calculate the derivatives of the computational graph.
- Print the gradients of the
`x`

,`y`

and`z`

tensors.