How much memory is used by a numpy ndarray?
I gauss, easily, we can compute by print(a.size // 1024 // 1024, a.dtype)
it is similar to how much MB is uesd, however with the param dtype, float=8B, int8=1B ...
Does anybody know how much memory is used by a numpy ndarray? (with let's say 10,000,000 float elements).