Closed jeremy-feng closed 1 year ago
Use Z.nbytes to find the memory size directly.
Z.nbytes
print("%d bytes" % (Z.nbytes))
Thanks. Can you make a PR (adding your line below the current one)? Also, make sure to only modify the kth files since others are generated.
Already solved in https://github.com/rougier/numpy-100/issues/157.
Use
Z.nbytes
to find the memory size directly.