if we check below documentation https://www.tensorflow.org/recommenders/examples/basic_retrieval it uses underscore (_) in the integer values like for batch size . What does this underscore signifies is it same as decimal point.
if we check below documentation https://www.tensorflow.org/recommenders/examples/basic_retrieval it uses underscore (_) in the integer values like for batch size . What does this underscore signifies is it same as decimal point.
The underscores are for improved readability, but do not have any deeper meaning. See this for more information. Here is an example:
import tensorflow
ds1 = tf.data.Dataset.random(seed=4).take(2_000)
print(len(list(ds1.map(lambda x: x))))
ds1 = tf.data.Dataset.random(seed=4).take(200_000)
print(len(list(ds1.map(lambda x: x))))
2000
200000