Attend the Women in ML Symposium on December 7 Register now

Module: tfp.experimental.auto_batching.stackless

Stay organized with collections Save and categorize content based on your preferences.

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.