y = x.reshape([batchsize, -1, sentsize, wordsize])把x 改变形状为(batch,-1, sentsize, wordsize)-1 维度会自动根据其他维度计算x = np.transpose(x,axes=(1,0,2 ...
確定! 回上一頁