Pytorch Flatten Before Linear, histogram torch.