kevinthesun commented on issue #5243: [Frontend][TensorFlow]Improve TensorFlow 
Static Shape Tensor Array
URL: https://github.com/apache/incubator-tvm/pull/5243#issuecomment-610029111
 
 
   @masahi The shape passed to ```get_var_static``` is for identification. For 
tensor_get_data, it is just for picking up corresponding global var from 
prelude mod. You just need to pass the shape with which you created 
StaticTensorArrayOps. For example, if you create a tensor array with shape (1, 
2, 3), you just need to pass (1, 2, 3) to get_var_static. However, to 
define_tensor_get_data, you want to pass (Any(), 1, 2, 3), since this is the 
actual output shape.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to