FHof / torchquad

Multidimensional numerical integration on the GPU using PyTorch
https://www.esa.int/gsp/ACT/open_source/torchquad/
GNU General Public License v3.0
0 stars 0 forks source link

Add tests for gradient calculation over integrand parameters #25

Closed FHof closed 2 years ago

FHof commented 2 years ago

I changed the gradient calculation function to be more general and added tests to calculate gradients of integrand parameters. The code uses the backend argument in VEGAS, so it requires changes from #23.