apeforest commented on a change in pull request #17547: Fix cudnn Dropout 
reproducibility
URL: https://github.com/apache/incubator-mxnet/pull/17547#discussion_r382968151
 
 

 ##########
 File path: src/operator/rnn.cc
 ##########
 @@ -180,6 +180,7 @@ static std::vector<ResourceRequest> RNNResourceEx(const 
NodeAttrs& attrs, const
     const RNNParam& param = nnvm::get<RNNParam>(attrs.parsed);
     if (param.p != 0 && 1.0f - param.p > 0) {
       request.emplace_back(ResourceRequest::kCuDNNDropoutDesc);
+        request.emplace_back(ResourceRequest::kRandom);
 
 Review comment:
   nit: indent here not consistent.

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