tvm-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [incubator-tvm] MarisaKirisame commented on issue #4979: [Relay/TOPI/TF][Op] Add support for randomuniform Op in TVM
Date Thu, 05 Mar 2020 16:47:52 GMT
MarisaKirisame commented on issue #4979: [Relay/TOPI/TF][Op] Add support for randomuniform
Op in TVM
URL: https://github.com/apache/incubator-tvm/pull/4979#issuecomment-595330595
 
 
   I am proposing the following design:
   the tvm operator randomuniform take a seed, and return a random uniform tensor paired with
the new seed.
   relay has a global reference holding a seed.
   there are relay helper function that, read the seed, call randomuniform, write the new
seed to the reference, and returning the tensor.
   this way, the tvm level can be kept pure, which is beneficial for optimization, while the
relay level provide effectful api that is easy to use.

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


With regards,
Apache Git Services

Mime
View raw message