To main content

torchquad: Numerical Integration in Arbitrary Dimensions with PyTorch

Abstract

torchquad is a Python module for n-dimensional numerical integration optimized for graphics processing units (GPUs). Various deterministic and stochastic integration methods, such as Newton–Cotes formulas and Monte Carlo integration methods like VEGAS Enhanced (Lepage, 2020), are available for computationally efficient integration for arbitrary dimensionality n. As it is implemented using PyTorch (Paszke et al., 2019), one of the most popular machine learning frameworks, torchquad provides fully automatic differentiation throughout the integration, which is essential for many machine learning applications

Category

Academic article

Language

English

Author(s)

Date

31.08.2021

Year

2021

Published in

Journal of Open Source Software (JOSS)

View this publication at Norwegian Research Information Repository