masahi commented on issue #8881: URL: https://github.com/apache/tvm/issues/8881#issuecomment-908809004
Since the call `torch.rand(size=self.given_shape, device=x.device)` doesn't depend on the input, it should be pre-computed in the constructor. That way there is no need to convert torch rand to relay rand. -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
