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

Function run_v1_only

tensorflow/tensorflow/python/framework/test_util.py:1229–1279  ·  view source on GitHub ↗

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

(reason, func=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 3

typeFunction · 0.85
decoratorFunction · 0.70
formatMethod · 0.45

Tested by

no test coverage detected