MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / check_existence

Function check_existence

tensorflow/tools/ci_build/update_version.py:46–50  ·  view source on GitHub ↗

Check the existence of file or dir.

(filename)

Source from the content-addressed store, hash-verified

44
45
46def check_existence(filename):
47 """Check the existence of file or dir."""
48 if not os.path.exists(filename):
49 raise RuntimeError("%s not found. Are you under the TensorFlow source root"
50 " directory?")
51
52
53def check_all_files():

Callers 1

check_all_filesFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected