# tfl.test_utils.get_hypercube_interpolation_fn

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/lattice/blob/v2.1.1/tensorflow_lattice/python/test_utils.py#L189-L221) |

Returns function which does hypercube interpolation.

    tfl.test_utils.get_hypercube_interpolation_fn(
        coefficients
    )

This is only for 2\^d lattice aka hypercube.

<br />

<br />

<br />

| ## Args ||
|---|---|
| `coefficients` | coefficients of hypercube ordered according to index of corresponding vertex. |

<br />

<br />

<br />

<br />

| ## Returns ||
|---|---|
| Function which takes d-dimension point and performs hypercube interpolation with given coefficients. ||

<br />