hzfan commented on a change in pull request #18053: [Numpy] New FFIs for 
Operator: pad, prod
URL: https://github.com/apache/incubator-mxnet/pull/18053#discussion_r409992467
 
 

 ##########
 File path: src/operator/numpy/np_pad_op-inl.h
 ##########
 @@ -122,6 +143,18 @@ struct NumpyPadParam : public 
dmlc::Parameter<NumpyPadParam> {
                   "the extended part of the array is created by subtracting 
the "
                   "reflected values from two times the edge value.");
   }
+  // Added SetAttrDict function here
+  void SetAttrDict(std::unordered_map<std::string, std::string>* dict) {
+    std::ostringstream pad_width_s, mode_s, constant_values_s, reflect_type_s;
+    pad_width_s << pad_width;
+    // mode_s << mode;
 
 Review comment:
   Remove dead code.

----------------------------------------------------------------
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

Reply via email to