vendredi 3 mai 2019

Creating random float and float64 arrays in NumPy

I would like to create two random arrays in NumPy for a fixed, given shape. np.random.randn(A,B,C) creates a random array of float64, if i am not mistaken, how do i create one filled with float32?

If i am mistaken, then my question still pertains, just the other way around.




Aucun commentaire:

Enregistrer un commentaire