I am a beginner in pytorch. I have the following neural network
class FirstNN(nn.Module):
def init(self):
super(FirstNN,self).init()
self.fc1 = nn.Linear(784,hidden_size)
self.act1 = nn.ReLU()
self.fc2 = nn.Linear(hidden_size,num_classes)
def forward(self,x):
    out = self.fc1(x)
    print(out.Size())
    out = self.act1(out)
    out = self.fc2(out)
    return out

model = FirstNN()
I wanted to know the shape of tensor after fc1. When I tried using print function it doesn’t print anything.How can I know the shape of tensor??