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

Lowering the full IR to stack machine instructions.

#### View aliases


**Main aliases**

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

<br />

At present, only one pass is needed to make the whole instruction
language defined in instructions.py understandable by the virtual
machine defined in virtual_machine.py, namely lowering FunctionCallOp
instructions to sequences of push, pop, and goto.

## Functions

[`lower_function_calls(...)`](https://www.tensorflow.org/probability/api_docs/python/tfp/experimental/auto_batching/lowering/lower_function_calls): Lowers a `Program` that may have (recursive) FunctionCallOp instructions.