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

A stackless auto-batching VM.

#### View aliases


**Main aliases**

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

<br />

Borrows the stack, and conditional execution, from the host Python; manages only
divergence.

## Modules

[`inst`](https://www.tensorflow.org/probability/api_docs/python/tfp/experimental/auto_batching/instructions) module: Instruction language for auto-batching virtual machine.

## Classes

[`class ExecutionQueue`](https://www.tensorflow.org/probability/api_docs/python/tfp/experimental/auto_batching/stackless/ExecutionQueue): A priority queue of resumption points.

## Functions

[`execute(...)`](https://www.tensorflow.org/probability/api_docs/python/tfp/experimental/auto_batching/stackless/execute): Executes a given program in stackless auto-batching mode.

[`is_running(...)`](https://www.tensorflow.org/probability/api_docs/python/tfp/experimental/auto_batching/stackless/is_running): Returns whether the stackless machine is running a computation.