ptrendx commented on a change in pull request #17270: Dynamic custom operator 
GPU support
URL: https://github.com/apache/incubator-mxnet/pull/17270#discussion_r370909037
 
 

 ##########
 File path: example/extensions/lib_custom_op/gemm_lib.cc
 ##########
 @@ -203,9 +210,9 @@ class MyStatefulGemm : public CustomStatefulOp {
 
 MXReturnValue createOpState(std::map<std::string, std::string> attrs,
                             CustomStatefulOp** op_inst) {
-  int count = 0;
-  if (attrs.count("test_kw") > 0)
-    count = std::stoi(attrs["test_kw"]);
+  // testing passing of keyward arguments
 
 Review comment:
   Nit: keyword

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