<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/probability/blob/v0.25.0/tensorflow_probability/python/experimental/auto_batching/gast_util.py) |

Gast compatibility library. Supports 0.2.2 and 0.3.2.

## Functions

[`Module(...)`](https://www.tensorflow.org/probability/api_docs/python/tfp/experimental/auto_batching/frontend/gast_util/Module): partial(func, \*args, \*\*keywords) - new function with partial application of the given arguments and keywords.

[`Name(...)`](https://www.tensorflow.org/probability/api_docs/python/tfp/experimental/auto_batching/frontend/gast_util/Name): partial(func, \*args, \*\*keywords) - new function with partial application of the given arguments and keywords.

[`Str(...)`](https://www.tensorflow.org/probability/api_docs/python/tfp/experimental/auto_batching/frontend/gast_util/Str): partial(func, \*args, \*\*keywords) - new function with partial application of the given arguments and keywords.

[`is_constant(...)`](https://www.tensorflow.org/probability/api_docs/python/tfp/experimental/auto_batching/frontend/gast_util/is_constant)

[`is_ellipsis(...)`](https://www.tensorflow.org/probability/api_docs/python/tfp/experimental/auto_batching/frontend/gast_util/is_ellipsis)

[`is_literal(...)`](https://www.tensorflow.org/probability/api_docs/python/tfp/experimental/auto_batching/frontend/gast_util/is_literal): Tests whether node represents a Python literal.

<br />

<br />

<br />

| ## Other Members ||
|---|---|
| GAST2 | `False` |
| GAST3 | `True` |

<br />