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-594156931 @tqchen I agree that at some level we should provide a stateful api. I think it will be best provided in relay. For example, there will be a global mutable reference holding a seed, and there are relay wrapper that call the pure tvm operator with the old seed, and store the new seed. Or one could think about a relay pass that transform stuff into PRNG passing style. @deepakbabel the function should at least output the new seed then.
---------------------------------------------------------------- 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
