Calling a nn.Module like self.conv1(x) or net(input) calls the internal __call__ method.
Have a look at the source. This method performs some operations regarding forward and backward hooks and calls forward.