CMA-ES in Pytorch Covariance Matrix Adaptation - Evolutionary Strategy Source code for my post on medium CMA in action on a rastrigin function Gradient descent on the same function with different step sizes