私はPython 2.7.6でTensorFlowを勉強しています。 https://www.tensorflow.org/versions/master/tutorials/mnist/tf/index.html#tensorflow-mechanics-101fully_connected_feed.pyの "//"の意味
上記のページから、私はfully_connected_feed.pyを取得できます。ファイルで
、私は
# And run one epoch of eval.
true_count = 0 # Counts the number of correct predictions.
steps_per_epoch = data_set.num_examples // FLAGS.batch_size
を参照してください "//" 演算子の意味は何ですか?
私はAPI docで意味を見つけようとしていますが、成功しません。パイソン2とPython 3との互換性のため https://www.tensorflow.org/api_docs/python/index.html
Pythonを全く知らずに、それは整数除算ですか? – Trejkaz
私はpython 2.7.6を追加しました。 – sevenOfNine
あなたのコメントは "整数除算"で、私は情報を見つけることができました。どうもありがとうございました。 http://stackoverflow.com/questions/183853/in-python-what-is-the-difference-between-and-when-used-for-division – sevenOfNine