i  want to ask u,pass hidden layer or input layer in view function?(x.view(-1,64))
and i am randomly choose the hidden layer  and input layers? where as  i have 3064 images with 512x512 dimensions.
i am asking about this:
self.fc1 = nn.Linear(262144, 64)
        self.fc2 = nn.Linear(64, 3)
        #self.fc3 = nn.Linear(84, 10)

    def forward(self, x):
        x = self.pool(F.relu(self.conv1(x)))
        x = self.pool(F.relu(self.conv2(x)))
        x = x.view(-1,64)