dimanche 28 mars 2021

Python if statement and bitwise operator

I just started a new python project in image segmentation and i run across this line of python code:

if tf.random.uniform(()) > 0.5:

Can someone explain to me what exactly is this line doing? The source of the code can be found here.

Aucun commentaire:

Enregistrer un commentaire