samskalicky commented on a change in pull request #12374: Fix/public internal
header
URL: https://github.com/apache/incubator-mxnet/pull/12374#discussion_r214215016
##########
File path: src/common/random_generator.cu
##########
@@ -59,6 +59,17 @@ void RandGenerator<gpu, float>::Seed(mshadow::Stream<gpu>
*s, uint32_t seed) {
s->Wait();
}
+template<>
+void RandGenerator<gpu, float>::AllocState(RandGenerator<gpu> *inst) {
Review comment:
No, the random generator always generates floats between 0 and 1, we scale
them as needed in wherever the random generator is used
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services