joddiy opened a new issue #630: AsType cannot work when after Reshape URL: https://github.com/apache/singa/issues/630 Hi, @dcslin , The asType cannot work when it is after the reshape operators. Please check by using the following code: ``` dev = device.create_cuda_gpu() X = np.array([[1, 0], [1, 1]]).astype(np.int32) x = tensor.from_numpy(X) x.to_device(dev) x = autograd.cast(x, tensor.int32) x = autograd.reshape(x, [1, 2, 2]) x = autograd.cast(x, tensor.float32) ```
---------------------------------------------------------------- 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
