def forward(self, x):
    x = self.avg_pool(x)
    x = torch.flatten(x, 1)
    out = self.fc(x)
    return out
def forward(self, x):
    x = self.avg_pool(x)
    x = torch.flatten(x, 1)
    out = self.fc(x)
    return out