numpy initialize array with 0 code example Example: np.zeros([8,8,3]) >>> np.zeros([8,8,3]) array([[ 0.], [ 0.]])