mseth10 commented on a change in pull request #12985: adding unit test for 
MKLDNN FullyConnected operator
URL: https://github.com/apache/incubator-mxnet/pull/12985#discussion_r229155791
 
 

 ##########
 File path: tests/cpp/operator/mkldnn_operator_test.cc
 ##########
 @@ -213,6 +213,38 @@ OpAttrs GetLRNBackwardsOp() {
   return attrs;
 }
 
+OpAttrs GetFullyConnectedOp() {
+  OpAttrs attrs;
+  attrs.attrs.op = Op::Get("FullyConnected");
+  attrs.attrs.dict.insert({"num_hidden" , "20"});
+  attrs.num_inputs = 3;
+  attrs.num_outputs = 1;
+  attrs.attrs.op->attr_parser(&attrs.attrs);
+  attrs.dispatches.resize(2);
 
 Review comment:
   Done

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


With regards,
Apache Git Services

Reply via email to