Pytorch implementation of Entropy-SGD