Conversion of Relay Expr Variable to Numpy

Is there any way to convert tvm.relay.expr.Var to Numpy. I found a method called .asnumpy but it converts tvm.ndarray to numpy.

Maybe you can get the Var property value and redefine it in Numpy rules

Has anyone found the way to do this, I have tvm.relay.ty.TensorType I want to convert it to tvm nd array or numpy.

Hi @ydy

Thanks for the suggestion.
I would appreciate if you could provide examples to us for better understanding. :slight_smile: