tf.flags.DEFINE_string

来源:互联网 发布:小说下载软件免费 编辑:程序博客网 时间:2024/06/11 22:00
tf.flags.DEFINE_string("test_file", "./test_data/test.recency_corpus.0206", "test file")tf.flags.DEFINE_string("test_file_result", "./test_data/test.recency_corpus.0206.result.2", "test file")                                                                                                  tf.flags.DEFINE_integer("batch_size", 640, "Batch Size (default: 64)")
#第一个是参数名称,第二个参数是默认值,第三个是参数描述