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
I know I could manually pass a new output dimension with "320", but the thing is that I do not know this value. The spatial dimension is the result of 2 convolution operations, so as user writing the code you do not know yet what dimension you will end up with, but the layer already knows it will be 320 because of the input dims. So it would be good if the output Dim could also be auto-generated.
I have the following code:
Where the print gives:
This crashes with:
because
merge_dims
does not try to set the dimension but just does:I know I could manually pass a new output dimension with "320", but the thing is that I do not know this value. The spatial dimension is the result of 2 convolution operations, so as user writing the code you do not know yet what dimension you will end up with, but the layer already knows it will be 320 because of the input dims. So it would be good if the output
Dim
could also be auto-generated.The fix would be fairly easy, e.g.
but this is auto-generated code, so I am not sure how to handle this...
The text was updated successfully, but these errors were encountered: