mean of torch tensor

torch.mean(input) 

Here is what the above code is Doing:
1. We’re creating a tensor of size (1, 1, 3, 3) with all elements set to 1.
2. We’re creating a tensor of size (1, 1, 3, 3) with all elements set to 2.
3. We’re creating a tensor of size (1, 1, 3, 3) with all elements set to 3.
4. We’re creating a tensor of size (1, 1, 3, 3) with all elements set to 4.
5. We’re creating a tensor of size (1, 1, 3, 3) with all elements set to 5.
6. We’re creating a tensor of size (1, 1, 3, 3) with all elements set to 6.
7. We’re creating a tensor of size (1, 1, 3, 3) with all elements set to 7.
8. We’re creating a tensor of size (1, 1, 3, 3) with all elements set to 8.
9. We’re creating a tensor of size (1, 1, 3, 3) with all elements set to 9.
10. We’re creating a tensor of size (1, 1, 3, 3) with all elements set to 10.
11. We’re creating a tensor of size (1, 1, 3, 3) with all elements set to 11.
12. We’re creating a tensor of size (1, 1, 3, 3) with all elements set to 12.
13. We’re creating a tensor of size (1, 1, 3, 3) with all elements set to 13.
14. We’re creating a tensor of size (1, 1, 3, 3) with all elements set to 14.
15. We’re creating a tensor of size (1, 1, 3, 3) with all elements set to 15.
16. We’re creating a tensor of size (1, 1, 3, 3) with all elements set to 16.
17. We’re creating a tensor of size (1, 1, 3, 3) with all elements set to 17.
18. We’re creating a tensor of size (1, 1, 3, 3) with all elements set to 18.
19. We’re creating a tensor of size (1, 1, 3, 3) with all elements set to 19.
20. We’re creating a tensor of size (1, 1, 3, 3) with all elements set to 20.
21. We’re creating a tensor of size (1, 1, 3, 3) with all elements set to 21.
22. We’re creating a tensor of size (1, 1, 3, 3) with all elements set to 22.
23. We’re creating a tensor of size (1, 1, 3, 3) with all elements set to 23.
24. We’re creating a tensor of size (1, 1, 3, 3) with all elements set to 24.
25. We’re creating a tensor of size (1, 1, 3, 3) with all elements set to 25.
26. We’re creating a tensor of size (1, 1, 3, 3) with all elements set to 26.
27. We’re creating a tensor of size (1, 1, 3, 3) with all elements set to 27.
28. We’re creating a tensor of size (1, 1, 3, 3) with all elements set to 28.
29. We’re creating a tensor of size (1, 1, 3, 3) with all elements set to 29.
30. We’re creating a tensor of size (1, 1, 3, 3) with all elements set to 30.
31. We’re creating a tensor of size (1, 1, 3, 3) with all elements set to 31.
32. We’re creating a tensor of size (1, 1, 3, 3) with all elements set to 32.
33. We’re creating a tensor of size (1, 1, 3, 3) with all elements set to 33.
34. We’re creating a tensor of size (1, 1, 3, 3) with all elements set to 34.
35. We’re creating a tensor of size (1, 1, 3, 3) with all elements set to 35.
36. We’re creating a tensor of size (1, 1, 3, 3) with all elements set to 36.
37. We’re creating a tensor of size (1, 1, 3, 3) with all elements set to 37.
38. We