t-vi edited a comment on pull request #5756:
URL: https://github.com/apache/incubator-tvm/pull/5756#issuecomment-642134657
@tqchen The thing I'm finding awkward to use is
```python
>>> tvm.relay.expr.const(1, dtype="float").data.dtype
'float64'
>>> tvm.relay.expr.var("x", "float")
Var(x, ty=TensorType([], float32))
```
I noticed because the `relay.frontend.from_pytorch` uses float to mean
float32 in many places.
Alternatively, we might fix `var` but at least the PyTorch frontend woudl
need fixing.
----------------------------------------------------------------
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]