Run
import numpy as np arr = np.ones((3, 5, 16)) size = arr.size print(size)
Output