Numpy has a newaxis object that allows you to insert a new dimension of length 1 into an array. So after y = x[:, numpy.newaxis, ...
確定! 回上一頁