EM algorithm for GMM in pytorch

can i get code of EM which takes the parameters as tensors