You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If use a list object as the argument of set_batch_num_nodes(), we get no error, and it seems the graph is successfully batched with the number of nodes. However, if I use AvgPooling to pool the batched graph, I would get an error:
AttributeError: 'list' object has no attribute 'dtype'
It's obvious that the list is not supported in this case.
If I use tensor, everything works fine, as the doc mentioned.
🐛 Bug
If use a list object as the argument of set_batch_num_nodes(), we get no error, and it seems the graph is successfully batched with the number of nodes. However, if I use AvgPooling to pool the batched graph, I would get an error:
It's obvious that the list is not supported in this case.
If I use tensor, everything works fine, as the doc mentioned.
To Reproduce
Steps to reproduce the behavior:
Please refer to the notebook:
https://colab.research.google.com/drive/1n-tfuPp3R59olfxgN4I9NJ95bNUmdsdJ?usp=sharing
Expected behavior
If I use a list, there should be an error raised, or it can be transformed into tensor automatically
Environment
conda
,pip
, source): pipAdditional context
The text was updated successfully, but these errors were encountered: