connorgoggins commented on a change in pull request #17632: [Large Tensor]
Fixed RNN op
URL: https://github.com/apache/incubator-mxnet/pull/17632#discussion_r385985563
##########
File path: src/operator/rnn-inl.h
##########
@@ -140,14 +140,14 @@ inline int GetRnnParamSize(int num_layer,
size *= 3;
break;
}
- int size1 = (input_size + state_size + 2) * size; // first layer size
- int size2 = (state_size * direction + state_size + 2) * size; // other
layers size
+ index_t size1 = (input_size + state_size + 2) * size; // first layer size
Review comment:
Agreed - testing changes now.
----------------------------------------------------------------
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