TaoLv commented on a change in pull request #17049: Fix operators lying about
their number of inputs
URL: https://github.com/apache/incubator-mxnet/pull/17049#discussion_r361410278
##########
File path: src/operator/nn/concat.cc
##########
@@ -394,6 +394,14 @@ CONCAT_FORWARD_ATTRS
.add_arguments(ConcatParam::__FIELDS__());
NNVM_REGISTER_OP(_backward_Concat)
+.set_num_inputs([](const NodeAttrs& attrs) {
+#if MXNET_USE_MKLDNN
Review comment:
`#if MXNET_USE_MKLDNN == 1`
----------------------------------------------------------------
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