ML Community Day is November 9! Join us for updates from TensorFlow, JAX, and more Learn more

Module: tfp.experimental.auto_batching.stackless

A stackless auto-batching VM.

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


inst module: Instruction language for auto-batching virtual machine.


class ExecutionQueue: A priority queue of resumption points.


execute(...): Executes a given program in stackless auto-batching mode.

is_running(...): Returns whether the stackless machine is running a computation.