wrongtest-intellif opened a new pull request, #18258:
URL: https://github.com/apache/tvm/pull/18258
- Allow i64 any value convert to `Integer` of proper bitwidth.
```python
import tvm
from tvm import relax
x = relax.Var("x", relax.TensorStructInfo((5, 784), "float32"))
# just build an object with `Integer` typed field.
x = relax.op.flip(x, 2**63-1).attrs.axis
# maybe better to get T.int64(9223372036854775807) rather than -1
```
- Ensure None any value's v_int64=0, since `AnyHash` depends on the repr
value.
```python
m = tvm.ir.Map({None: 1})
assert None in m # get False if v_int64 not const initialized.
```
--
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]