I have the same problem and add judgment:
```
if end == 0:
return _expr.const([],dtype = dtype)
```
A new error is encountered later, and I'm not sure if it's related to this
return value
---
[Visit
Topic](https://discuss.tvm.ai/t/can-slice-from-relay-support-empty-result/5889/2)
to respond.
You are receiving this because you enabled mailing list mode.
To unsubscribe from these emails, [click
here](https://discuss.tvm.ai/email/unsubscribe/72d27dbce45cbe5d518860aee622d498ff36573f9e48cf3791c4e228190e214d).