TF 2.0 is out! Get hands-on practice at TF World, Oct 28-31. Use code TF20 for 20% off select passes. Register now

Module: tfp.experimental.auto_batching.stackless

View source on GitHub

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.