Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add F.resample torchscript test #1516

Merged

Conversation

carolineechen
Copy link
Contributor

add torchscriptiibility test for F.resample

@carolineechen carolineechen force-pushed the resample-functional-torchscript branch from 725d269 to 0c41e01 Compare May 20, 2021 00:15
@carolineechen carolineechen force-pushed the resample-functional-torchscript branch from 0c41e01 to 0623b3f Compare May 20, 2021 00:24
@carolineechen carolineechen requested a review from mthrok May 20, 2021 15:29
# kaiser_window
if beta is None:
beta = 14.769656459379492
beta_tensor = torch.tensor(float(beta))
Copy link
Collaborator

Choose a reason for hiding this comment

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

😮 Nicely done. I did not know optional type refinement can be done this elegantly.

@carolineechen carolineechen merged commit 7763ed8 into pytorch:master May 20, 2021
mthrok pushed a commit to mthrok/audio that referenced this pull request Dec 13, 2022
* Update rpc_ddp_tutorial.rst

* Delete advanced_source/rpc_ddp_tutorial directory

* Create main.py

* Update rpc_ddp_tutorial.rst
mthrok pushed a commit to mthrok/audio that referenced this pull request Dec 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants