示例#1
0
def maybe_log_registry_and_exit():
    if FLAGS.registry_help:
        tf.logging.info(registry.help_string())
        sys.exit(0)
示例#2
0
def log_registry():
    if FLAGS.registry_help:
        tf.logging.info(registry.help_string())
        sys.exit(0)
示例#3
0
 def testRegistryHelp(self):
   help_str = registry.help_string()
   self.assertIsNotNone(help_str)
   self.assertGreater(len(help_str), 0)
示例#4
0
 def testRegistryHelp(self):
   help_str = registry.help_string()
   self.assertIsNotNone(help_str)
   self.assertGreater(len(help_str), 0)
示例#5
0
def log_registry():
  if FLAGS.registry_help:
    tf.logging.info(registry.help_string())
    sys.exit(0)
示例#6
0
def maybe_log_registry_and_exit():
  if FLAGS.registry_help:
    tf.logging.info(registry.help_string())
    sys.exit(0)