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

Function main

tensorflow/tools/test/upload_test_benchmarks.py:242–249  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

240
241
242def main():
243 options = parse_cmd_line()
244
245 # Check that credentials are specified to access the datastore.
246 if not os.environ.get("GOOGLE_APPLICATION_CREDENTIALS"):
247 raise ValueError("GOOGLE_APPLICATION_CREDENTIALS env. var. is not set.")
248
249 upload_benchmark_files(options)
250
251
252if __name__ == "__main__":

Callers 1

Calls 3

parse_cmd_lineFunction · 0.85
upload_benchmark_filesFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected