zixuanweeei commented on a change in pull request #15621: [WIP] MKL-DNN LBR-GRU 
Inference Integration (FP32 LBR-GRU)
URL: https://github.com/apache/incubator-mxnet/pull/15621#discussion_r307588514
 
 

 ##########
 File path: src/operator/nn/mkldnn/mkldnn_rnn_impl.h
 ##########
 @@ -118,7 +151,7 @@ static size_t GetMKLDNNRNNCacheMemorySize(int L,
       break;
     case rnn_enum::kGru:
       size = 2 * (D * (I + H) * 3 * H + (L - 1) * D * (D * H + H) * 3 * H +
-             L * D * 2 * N * H) + T * N * D * H + L * 2 * D * 3 * H + (L + 2) 
* D * 2 * N * H +
+             L * D * 2 * N * H) + T * N * D * H + L * 2 * D * 4 * H + (L + 2) 
* D * 2 * N * H +
 
 Review comment:
   @marcoabreu Sorry for the late update. I have renamed this part. Would you 
mind checking it again? Thanks.

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