标签: python machine-learning tensorflow
在Tensorflow LM示例中,作者使用不同的配置进行验证和测试:
valid_perplexity = run_epoch(session, mvalid, valid_data, tf.no_op()) test_perplexity = run_epoch(session, mtest, test_data, tf.no_op())
我的问题是为什么我们在这里使用不同的num_steps设置?它是否对困惑度计算有不同的贡献(例如,两个集num_steps等于1)?
num_steps