You are viewing a plain text version of this content. The canonical link for it is here.
Posted to discuss-archive@tvm.apache.org by Sergesg via Apache TVM Discuss <no...@discuss.tvm.ai> on 2021/10/27 07:35:48 UTC

[Apache TVM Discuss] [Questions] Do not understand te.TensorSlice


It seems that in TE,the index operator [ ] is not same as [ ] in numpy.
When I use A[:1000] (A is a te.Tensor), I get a TensorSlice object ,but I want a Tensor.
So can anyone tell me how to use TensorSlice, or how can I get the same [ ] index method just like numpy? much thanks





---
[Visit Topic](https://discuss.tvm.apache.org/t/do-not-understand-te-tensorslice/11320/1) to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click here](https://discuss.tvm.apache.org/email/unsubscribe/2645a775dca00d6f19c720340703093735cd89e67c359dc141f0fa45686dc18c).