Hi, sorry to bother u, but does anyone have tested tensor array in tvm? I found that the performance of tensor array in tvm is pool, about 10x+ slowly than tf.
I read the code about tensor array in tvm and found tvm use adt(list) to express tensor array in relay, the operations about tensor array will be converted to some recursive functions such as nth/update, and will generate many packed funcs.
In the meantime, tf use array-like structure to implement tensor array and can read the nth element in O(1) (tvm will use O(n)).
Does anyone have some experiences on this? How could I make tensor array more efficient in tvm? Will be glad if anyone could discuss it.