How about indexing Tensor->shape with Var?

This is in the context of indexing Tensor shape inside compute by Var (Array& indices) like

x->shape[ Var ]

Thanks in advance.

Siva

Ignore this. I worked out alternative to this.