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.

Aliases:

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

Modules

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

Classes

class ExecutionQueue: A priority queue of resumption points.

Functions

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

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