MCPcopy Create free account
hub / github.com/alibaba/nann / enable_control_flow_v2

Function enable_control_flow_v2

tensorflow/tensorflow/python/framework/test_util.py:439–463  ·  view source on GitHub ↗

Decorator for enabling CondV2 and WhileV2 on a test. Note this enables using CondV2 and WhileV2 after running the test class's setup/teardown methods. In addition to this, callers must import the while_v2 module in order to set the _while_v2 module in control_flow_ops. Args: fn: the

(fn)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

with_control_flow_v2Function · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected