# coding=utf-8
import numpy as np
arr1=np.arange(12).reshape(2,3,2)
print arr1.ndim #输出3
# coding=utf-8
import numpy as np
arr1=np.arange(12).reshape(2,3,2)
print arr1.size #输出12
# coding=utf-8
import numpy as np
arr1=np.arange(12).reshape(2,3,2)
print arr1.itemsize #输出4
# coding=utf-8
import numpy as np
arr1=np.arange(12).reshape(2,3,2)
print arr1.nbytes #输出48