Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeepRec-AI/DeepRec
/ _is_old_cond
Function
_is_old_cond
tensorflow/python/kernel_tests/cond_v2_test.py:1413–1415 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
1411
1412
1413
def
_is_old_cond():
1414
return
isinstance(ops.get_default_graph()._get_control_flow_context(),
1415
control_flow_ops.CondContext)
1416
1417
1418
def
_has_node_with_op(run_metadata, op_type):
Callers
1
_cond
Function · 0.85
Calls
1
_get_control_flow_context
Method · 0.45
Tested by
no test coverage detected