Thanks for the response!
This is how the code looks like

for m in model.modules():
if isinstance(m, nn.Conv2d):
print(‘m.weight.shape’,m.weight.shape,’,dimension = ',m.weight.ndimension())
torch.nn.init.orthogonal(m.weight)

The output of the print statement :

m.weight.shape torch.Size([64, 20, 1, 5]) ,dimension =  4

So definitely the tensor dimension > 2.