mercredi 19 février 2020

Generating random integers in TensorFlow

I would like to generate random integers in TensorFlow but I don't which command I should use. In particular, I would like to generate from a uniform random variable which takes values in {1, 2, 3, 4}. I have tried to look among the distributions included in tensorflow_probability but I didn't find it.

Thanks in advance for your help.




Aucun commentaire:

Enregistrer un commentaire