Following is my code:
x =[2, 3, 6] # x is a list
output = tvm.compute((3,),lambda i: x[i]) #convert list x to a tvm.tensor
So I want to convert a list to a tvm.tensor, but it failed with the following error:
TypeError: list indices must be integers, not Var