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

Function main

tensorflow/python/platform/app_test.py:29–40  ·  view source on GitHub ↗
(argv)

Source from the content-addressed store, hash-verified

27flags.DEFINE_boolean('myflag', False, '')
28
29def main(argv):
30 if (len(argv) != 3):
31 print("Length of argv was not 3: ", argv)
32 sys.exit(-1)
33
34 if argv[1] != "--passthrough":
35 print("--passthrough argument not in argv")
36 sys.exit(-1)
37
38 if argv[2] != "extra":
39 print("'extra' argument not in argv")
40 sys.exit(-1)
41
42
43if __name__ == '__main__':

Callers

nothing calls this directly

Calls 1

exitMethod · 0.80

Tested by

no test coverage detected