When min=-2, max=2, sigma=3*25, I got the following:
tensor([ 36.,  72., 105., 136., 134., 148., 132.,  92.,  55.,  37.])
tensor([ 36.3019,  71.9146, 104.1209, 138.0593, 133.3760, 144.7053, 134.9035,
         92.9224,  52.8923,  36.8525], grad_fn=<SumBackward2>)
tensor(18.4180)

The parameter name “sigma” is a bit confusing. I think “kappa” or “k” is better.