tfp.experimental.lazybones.Deferred

Defers execution of callable.

Inherits From: DeferredBase

args

children

fn

frozen

kwargs

name

parents

value

Methods

eval

View source

reset

View source

__abs__

Return the absolute value of the argument.

__add__

Same as a + b.

__and__

Same as a & b.

__bool__

bool(x) -> bool

Returns True when the argument x is true, False otherwise. The builtins True and False are the only two instances of the class bool. The class bool is a subclass of the class int, and cannot be subclassed.

__call__

View source

__contains__

Same as b in a (note reversed operands).

__enter__

View source

__eq__

Same as a == b.

__exit__

View source

__floordiv__

Same as a // b.

__ge__

Same as a >= b.

__getitem__

Same as a[b].

__gt__

Same as a > b.

__invert__

Same as ~a.

__iter__

iter(iterable) -> iterator iter(callable, sentinel) -> iterator

Get an iterator from an object. In the first form, the argument must supply its own iterator, or be a sequence. In the second form, the callable is called until it returns the sentinel.

__le__

Same as a <= b.

__len__

Return the number of items in a container.

__lt__

Same as a < b.

__matmul__

Same as a @ b.

__mod__

Same as a % b.

__mul__

Same as a * b.

__ne__

Same as a != b.

__neg__

Same as -a.

__or__

Same as a | b.

__pos__

Same as +a.

__pow__

Equivalent to xy (with two arguments) or xy % z (with three arguments)

Some types, such as ints, are able to use a more efficient algorithm when invoked using the three argument form.

__radd__

Same as a + b.

__rand__

Same as a & b.

__rfloordiv__

Same as a // b.

__rmatmul__

Same as a @ b.

__rmod__

Same as a % b.

__rmul__

Same as a * b.

__ror__

Same as a | b.

__rpow__

Equivalent to xy (with two arguments) or xy % z (with three arguments)

Some types, such as ints, are able to use a more efficient algorithm when invoked using the three argument form.

__rsub__

Same as a - b.

__rtruediv__

Same as a / b.

__rxor__

Same as a ^ b.

__sub__

Same as a - b.

__truediv__

Same as a / b.

__xor__

Same as a ^ b.