-
I've been working on converting the example Autoencoder to multiple sample/symbol, using the new upsampling/downsampling filters. I've gotten stuck on an error in TF that occurs during the tracing when run in graph mode. The error message provides no information to me, but when run in eager mode there is no error. I'm wondering if anyone maybe has more experience in TF and might have some ideas on what the problem might be or on how to debug. I've placed a minimal sample code here: The error is
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Thank you for sharing your code. It helped us unveil a bug in the function |
Beta Was this translation helpful? Give feedback.
-
As a workaround I have an alternative implementation of APP demapper, based on code I've used for years.
Now in numpy and in eager mode we can use these indices to directly index (as in the code commented out below). Unfortunately this isn't working in graph mode, and we have to resort to the un-commented code which enumerates all indices and uses tf.gather_nd.
|
Beta Was this translation helpful? Give feedback.
Thank you for sharing your code. It helped us unveil a bug in the function
sionna.utils.convolution()
. In the current release (v0.9), the output shape of this function can be variable for dimensions other than the first one, causing the error you observe.We will fix with this bug in the next Sionna release.