MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / _py_lazy_and

Function _py_lazy_and

tensorflow/python/autograph/operators/logical.py:57–59  ·  view source on GitHub ↗

Lazy-eval equivalent of "and" in Python.

(cond, b)

Source from the content-addressed store, hash-verified

55
56
57def _py_lazy_and(cond, b):
58 """Lazy-eval equivalent of "and" in Python."""
59 return cond and b()
60
61
62def or_(a, b):

Callers 1

and_Function · 0.85

Calls 1

bFunction · 0.50

Tested by

no test coverage detected