[Numpy-discussion] switching to float32

John Schulman joschu@caltech....
Thu Jun 25 08:43:58 CDT 2009


I'm trying to reduce the memory used in a calculation, so I'd like to
switch my program to float32 instead of float64. Is it possible to
change the numpy default float size, so I don't have to explicitly
state dtype=np.float32 everywhere?

Thanks,
John


More information about the Numpy-discussion mailing list