tf.signal.inverse_stft AttributeError: 'int' object has no ...
github.com › tensorflow › tensorflowMay 06, 2019 · There appears to be a bug in tf.signal.inverse_stft, when testing for real_frames.shape[-1].value is None, where real_frames.shape[-1] is an integer, and does not have a value. Reproducible code: print(tf.__version__) frame_length = 512 frame_step = 256 signal = tf.random.uniform(shape=(1000,)) x = tf.signal.stft(signal, frame_length, frame_step) y = tf.signal.inverse_stft(x, frame_length, frame_step)