The linear layer in self.fc1 expects 836 input features, while you are reshaping the activation to [batch_size=836, features=16*47*47=35344].
Use x = x.view(x.size(0), -1) instead and make sure the in_features of self.fc1 are matching the number of features of the incoming activation.