An open API service indexing awesome lists of open source software.

https://github.com/dfm/tf.interp

Multivariate linear interpolation in TensorFlow
https://github.com/dfm/tf.interp

Last synced: about 1 year ago
JSON representation

Multivariate linear interpolation in TensorFlow

Awesome Lists containing this project

README

          

**Multivariate linear interpolation in TensorFlow**

This module implements a custom TensorFlow operation that replicates the
[RegularGridInterpolator](https://docs.scipy.org/doc/scipy/reference/generated/scipy.interpolate.RegularGridInterpolator.html)
from SciPy.

To install, run:

```bash
python setup.py install
```

or

```bash
python setup.py develop
```

And then use:

```python
from tfinterp import regular_nd
zi = regular_nd(points, values, xi)
```

in your code. See the docstring for `regular_nd` for more information.