tlopex commented on PR #20138:
URL: https://github.com/apache/tvm/pull/20138#issuecomment-5449128303

   Ahh I have a look, now explicit `full_like` still creates Python scalar fill 
values with the default `int32`/`float32` dtype instead of the requested output 
dtype. e.g. `torch.full_like(x, 1 << 40, dtype=torch.int64)` imports a zero 
fill value due to int32 narrowing. Could we use `relax.const(value, dtype)` 
here?


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to