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

Function with_control_flow_v2

tensorflow/tensorflow/python/framework/test_util.py:466–518  ·  view source on GitHub ↗

Adds methods that call original methods with WhileV2 and CondV2 enabled. Note this enables CondV2 and WhileV2 in new methods after running the test class's setup method. In addition to this, callers must import the while_v2 module in order to set the _while_v2 module in control_flow_ops.

(cls)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

enable_control_flow_v2Function · 0.70
copyMethod · 0.45

Tested by

no test coverage detected