<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/dsl.py) |

Python-embedded DSL frontend for authoring autobatchable IR programs.

#### View aliases


**Main aliases**

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

<br />

This domain-specific language frontend serves two purposes:

- Being easier and more pleasant to author by humans than writing IR directly
- Being close enough to the structure of natural Python programs that the remaining gap can be bridged by a source-to-source transformation

## Classes

[`class ProgramBuilder`](https://www.tensorflow.org/probability/api_docs/python/tfp/experimental/auto_batching/dsl/ProgramBuilder): An auto-batching DSL context.