lanking520 commented on issue #14756: Mismatch between shape Java API URL: https://github.com/apache/incubator-mxnet/issues/14756#issuecomment-486867232 I add a PR to fix this problem. The problem is the wrong ways of concatenating the NDArrays. It used to be: ``` outputBatches = [ [a1, a2, a3], // batch a [b1, b2, b3] // batch b ] result = [ NDArray, // [a1, a2, a3] NDArray, // [b1, b2, b3] ] ``` Now is: ``` result = [ NDArray, // [a1, b1] NDArray, // [a2, b2] NDArray, // [a3, b3] ] ```
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
