Skip to content

Conversation

@mostafa-mahmoud
Copy link
Contributor

After discussion on the contribution of the STFTSpectrogram layer (PR: 20313), I added a code example of using this layer in various modes.

Copy link
Contributor

@fchollet fchollet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR! The code generally looks good!

@mostafa-mahmoud
Copy link
Contributor Author

@fchollet I resolved all the comments.

Copy link
Contributor

@fchollet fchollet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice! My only comment is very minor, so we can merge now.

from keras import layers
from scipy.signal import resample

np.random.seed(41)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The numpy seeding is already included as part of set_random_seed

@fchollet fchollet merged commit 786e5ba into keras-team:master Oct 15, 2024
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants