What is the meaning of 1./255 as opposed to omitting the period in Python? [duplicate]

I'm working on image pre-processing and read the Keras documentation above. About a quarter of the way down you see the following:

train_datagen = ImageDataGenerator( rescale=1./255, shear_range=0.2, zoom_range=0.2, horizontal_flip=True) 

Why do they have ./ instead of just a /? Thank you in advance.

3

Reset to default

You Might Also Like