You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2020/01/11 08:50:49 UTC

[GitHub] [incubator-mxnet] litaotju commented on a change in pull request #17271: Fix #17267, add expected and got datatype for concat error msgs

litaotju commented on a change in pull request #17271: Fix #17267, add expected and got datatype for concat error msgs
URL: https://github.com/apache/incubator-mxnet/pull/17271#discussion_r365509263
 
 

 ##########
 File path: src/operator/nn/concat.cc
 ##########
 @@ -149,9 +149,10 @@ bool ConcatType(const nnvm::NodeAttrs& attrs,
     if (dtype == -1) {
       dtype = i;
     } else {
-      CHECK(i == dtype ||
-          i == -1) <<
-          "Non-uniform data type in Concat";
+      CHECK( i == dtype || i == -1) 
 
 Review comment:
   Do you want to split the msg explicitly of "Concat" and "dstack" based on the op name. Or just  use the sentence "Non-uniform data type in Concat / dstack....", and no need to state if it's Concat or dstack ? 
   
   Yes, the second one can be done.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services