Closed mhmmdjafarg closed 1 year ago
@mhmmdjafarg you mean dynamic=false
is okay but when dynamic=true
, it fails? Could you provide your onnx model?
No, both are returns error. I just wonder what is the correct way to do it? Maybe like the one you did on Resize
operator
Here's the onnx file
https://drive.google.com/file/d/1WTJe7GNknIqt6cOi9C-izY9D1bKqvDjk/view?usp=sharing
@mhmmdjafarg Currently, we only support Tile
operator with specific shape, can not support symbolic shape. You should fix your Tile
shape except the first dimension(batch_size
dimension).
Thank you for your reply, now I understand. Would you happen to have any idea how to make it fixed? My input tensor should be with shape (32000,1,32) and the tile is 1D with value (1,20,1)
I found the solution using onnx.helper, adding the value_info on the graph. I'll get back to you later. thanks
Hi, thank you for your great work. I just wonder how to run onnx_to_plugin on
Tile
operator. I know it is supported by TPAT 1.0. I have triedpython3 onnx_to_plugin.py -i model/pfe_baseline32000.onnx -o model/pfe_baseline_tpat.onnx -t Tile
python3 onnx_to_plugin.py -i model/pfe_baseline32000.onnx -o model/pfe_baseline_tpat.onnx -n Tile_16 -dynamic=true -min=1 -max=256 -opt=128
But it returnsThank you