You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2018/04/18 19:34:46 UTC
[GitHub] eric-haibin-lin commented on issue #10509: [Improvement]
Distinguish Sparse/Dense operator for temp resource request
eric-haibin-lin commented on issue #10509: [Improvement] Distinguish Sparse/Dense operator for temp resource request
URL: https://github.com/apache/incubator-mxnet/issues/10509#issuecomment-382503640
After some discussion with @piiswrong and @zheng-da I think the following additional interface will be sufficient to distinguish most of the ops:
```
using FResourceRequestEx = std::function<
std::vector<ResourceRequest> (const NodeAttrs& n, const DispatchMode dispatch_mode, const int dev_mask)>;
```
We need to replace FResourceRequest with FResourceRequestEx for the ops we want to change.
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services