How to generate random numbers of type int16 using numpy.random.uniform?
I'm trying to generate a numpy array of random int16 values, but the function numpy.random.uniform returns float64, so how to do that using this function or any similar function?
Aucun commentaire:
Enregistrer un commentaire