leezu commented on a change in pull request #17530: Add deferred compute support URL: https://github.com/apache/incubator-mxnet/pull/17530#discussion_r379009156
########## File path: include/mxnet/imperative.h ########## @@ -88,6 +89,77 @@ class Imperative { && info.out_grads.size() == 1; } }; + + /*! \brief DCInfo datastructure to enable deferred computation */ + class DCInfo { + public: + DCInfo() { + // Default constructor provided for the sake of any.h. Should not be used. + throw std::invalid_argument("Unsupported default constructor"); + } Review comment: Good catch. This was only needed in an earlier, unpublished version of this PR. ---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services