我用来model.predict()通过tensorflow.js输出张量A(大小:512 * 512 * 3),然后将其重塑为A.reshape(512 * 512 * 3)。但现在我想将此张量转换为数组,以便我可以将它与three.js. 如何解决这个问题呢?
model.predict()
three.js
tensorflow.js
tensorflow.js ×1