【发布时间】:2018-08-14 04:56:29
【问题描述】:
numpy 转置的 NDArray 等价物是什么:out = np.transpose(in, (0,2,1,3))?
(in 排名第 4)
【问题讨论】:
标签: nd4j
numpy 转置的 NDArray 等价物是什么:out = np.transpose(in, (0,2,1,3))?
(in 排名第 4)
【问题讨论】:
标签: nd4j
显然INDArray.permute(dimension rages) 正是我一直在寻找的。
ND4J 的 outNDArray = inNDArray.permute(0,2,1,3) 相当于 NumPy 的 out = np.transpose(in, (0,2,1,3))
【讨论】: