ChaiBapchya commented on a change in pull request #12677: [MXNET-995] Constant 
Initializer for ND Array
URL: https://github.com/apache/incubator-mxnet/pull/12677#discussion_r221385627
 
 

 ##########
 File path: python/mxnet/ndarray/ndarray.py
 ##########
 @@ -869,7 +869,7 @@ def _sync_copyfrom(self, source_array):
         source_array = np.ascontiguousarray(source_array, dtype=self.dtype)
         if source_array.shape != self.shape:
             raise ValueError('Shape inconsistent: expected %s vs got %s'%(
-                str(self.shape), str(source_array.shape)))
+                str(source_array.shape), str(self.shape)))
 
 Review comment:
   @zhreshold could you confirm if the above issue (#12676 ) is right or not? 
coz the value error it gave sounded confusing due to mismatched shapes. Thanks

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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

Reply via email to