You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2021/05/14 18:54:56 UTC

[GitHub] [tvm] altanh commented on pull request #8041: [Relay][PRNG] Add uniform distribution generator wrt threefry PRNG

altanh commented on pull request #8041:
URL: https://github.com/apache/tvm/pull/8041#issuecomment-841437945


   Thanks for this PR! I will be reading it soon, and just wanted to point you to a branch I worked on a while ago where I hacked a uniform op + dropout support: https://github.com/altanh/tvm/commits/prng (just in case it might be useful for you to check and compare).
   
   > However, as I haven't found the bitcast in te or topi, I use a divide to cast the type, which may be slower:
   
   Perhaps this is the operation you're looking for? https://github.com/altanh/tvm/blob/2d9ac7710ab055d4f20e8b5a0a3580836723efac/python/tvm/topi/generic/algorithm.py#L465
   
   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:
users@infra.apache.org