joddiy opened a new pull request #438: *fix bug: segmentation fault at test case URL: https://github.com/apache/incubator-singa/pull/438 *fix bug: - allow reshaping on an empty tensor then give it data will invoke segmentation fault. *how to fix: - when reshape, add a check requiring the original shape's volume must be same with new one. - fix corresponding test case(test_mse, test_cross_entropy, test_tensor_math)
---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services