tvm-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [incubator-tvm] kevinthesun commented on issue #5243: [Frontend][TensorFlow]Improve TensorFlow Static Shape Tensor Array
Date Mon, 06 Apr 2020 17:18:59 GMT
kevinthesun commented on issue #5243: [Frontend][TensorFlow]Improve TensorFlow Static Shape
Tensor Array
URL: https://github.com/apache/incubator-tvm/pull/5243#issuecomment-609926012
 
 
   > 1. When I append the tensor to tensor array (by concat), I can do infer shape on the
input tensor to get the fixed shape static tensor array expects. But after I've done some
appends and try to stack the static tensor array, I don't have a way to tell what fixed shape
the input tensor array to stack expects. See
   >    https://github.com/masahi/tvm/blob/support-more-rnn/python/tvm/relay/frontend/pytorch.py#L989-L990
   >    Since the shape is fixed, I think there should be an easy way to query the shape
associated with a static array. I see you have such function `check_tensor_array_shape` in
this PR (by parsing op name). Is this the recommended way?
   
   Yes you can use ```check_tensor_array_shape```. I'll change the name to ```get_tensor_array_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:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message