Skip to content

Adding TorchScript test for F.phase_vocoder #1377

@mthrok

Description

@mthrok

torchaudio.functional.phase_vocoder does not have TorchScript-compatibility test. We need this before adding native complex dtype support.

Steps

  1. Add test_phase_vocoder method in torchscript_consistency_impl.py
    Follow how the other functions are tested. It should be straightforward but if you need help feel free to ask here.

Build & testing

For setting up dev env, please refer to CONTRIBUTING.md.
Run the test with

(cd test && pytest torchaudio_unittest/functional/torchscript_consistency_cpu_test.py -k phase)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions