You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tvm.apache.org by Heliqi via TVM Discuss <no...@discuss.tvm.ai> on 2020/03/26 10:02:14 UTC

[TVM Discuss] [Development] Can `slice` from relay support empty result?


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).