There's another piece of information,an error occurred while obtaining the end
value:
```
def _stridedSlice():
xxxx
end = _get_list_param(params, inputs[2])
xxxx
error info:
<class 'tvm.relay.expr.Call'> has no attribute name_hint
```
So,I change the code:
```
try:
end = _get_list_param(params, inputs[2])
except (IndexError, KeyError, AttributeError):
end = _infer_value(inputs[2], params).asnumpy().tolist()
```
Finally,I get the 'end' value of 0. (end = [0])
---
[Visit
Topic](https://discuss.tvm.ai/t/can-slice-from-relay-support-empty-result/5889/3)
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/ad7db5a08668ff1ac00c7117339ddd0450d62d6e65f7b88e7b4a639f9a92544c).