Gradient Oriented Histogram

Any idea on how to calculate gradient oriented histograms on CIFAR-10 dataset from torchvision?