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

Function run_v2_only

tensorflow/tensorflow/python/framework/test_util.py:1282–1316  ·  view source on GitHub ↗

Execute the decorated test only if running in v2 mode. This function is intended to be applied to tests that exercise v2 only functionality. If the test is run in v1 mode it will simply be skipped. `deprecated_graph_mode_only`, `run_v1_only`, `run_v2_only`, and `run_in_graph_and_eager_mode

(func=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

decoratorFunction · 0.70

Tested by

no test coverage detected