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

tfp.experimental.auto_batching.instructions.PushGotoOp

View source on GitHub

Class PushGotoOp

Save an address for IndirectGotoOp and unconditionally jump to another.

Aliases:

Use in the function call sequence. The address is saved on the reserved "program counter" variable.

Args:

  • push_block: The Block that the matching IndirectGotoOp will jump to.
  • goto_block: The Block to jump to.

__new__

__new__(
    _cls,
    push_block,
    goto_block
)

Create new instance of PushGotoOp(push_block, goto_block)

Properties

push_block

goto_block