Hey in the section: 5.4. Numerical Stability and Initialization β Dive into Deep Learning 1.0.3 documentation
And in the code:
M = torch.normal(0, 1, size=(4, 4))
print('a single matrix \n',M) # ππ» in this line
for i in range(100):
    M = M @ torch.normal(0, 1, size=(4, 4))
print('after multiplying 100 matrices\n', M)
Please have the space after the comma. Letβs keep the code clean ![]()
In this line
print('a single matrix \n',M)should beprint('a single matrix \n', M)
Thanks!!!