apeforest commented on a change in pull request #12884: adding unittest for
MKLDNN Softmax operator
URL: https://github.com/apache/incubator-mxnet/pull/12884#discussion_r234534694
##########
File path: tests/cpp/operator/mkldnn_operator_test.cc
##########
@@ -188,7 +188,7 @@ OpAttrs GetLRNOp() {
attrs.num_outputs = 2;
attrs.attrs.dict.insert({"nsize" , "3"});
attrs.attrs.op->attr_parser(&attrs.attrs);
- attrs.dispatches.resize(2);
+ attrs.accept_dims.insert(4); // TODO(alex): (MXNET-845)
Review comment:
It seems in line 578 you are already testing dims other than 4. Should this
TODO be removed?
----------------------------------------------------------------
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