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
- Host: GitHub
- URL: https://github.com/dfm/tf.interp
- Owner: dfm
- License: apache-2.0
- Created: 2018-05-17T22:28:13.000Z (almost 8 years ago)
- Default Branch: main
- Last Pushed: 2021-01-20T00:47:26.000Z (over 5 years ago)
- Last Synced: 2025-03-27T10:37:34.146Z (about 1 year ago)
- Language: Jupyter Notebook
- Homepage:
- Size: 324 KB
- Stars: 38
- Watchers: 2
- Forks: 7
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.