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

Function _py_lazy_or

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

Lazy-eval equivalent of "or" in Python.

(cond, b)

Source from the content-addressed store, hash-verified

74
75
76def _py_lazy_or(cond, b):
77 """Lazy-eval equivalent of "or" in Python."""
78 return cond or b()
79
80
81def eq(a, b):

Callers 1

or_Function · 0.85

Calls 1

bFunction · 0.50

Tested by

no test coverage detected