JohnCalhoun commented on issue #10002: General support of OPs for second-order gradient URL: https://github.com/apache/incubator-mxnet/issues/10002#issuecomment-429493744 progress on first part: ```cpp TEST(CORE_OP_RUNNER, CheckForGradients) { std::vector<std::string> names= dmlc::Registry<Op>::ListAllNames(); std::cout << "total ops: " << names.size() << "\n"; for (std::vector<std::string>::iterator i = names.begin(); i != names.end(); ++i){ const Op* op=dmlc::Registry<Op>::Find(*i); auto gradient=op->GetAttr<nnvm::FGradient>("FGradient"); std::cout << op->name << " " << gradient.count(op) << '\n'; } } ``` [out.txt](https://github.com/apache/incubator-mxnet/files/2474888/out.txt)
---------------------------------------------------------------- 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
