08f188b2f93c1d69691f469482faa6c9df6747f9,torchaudio/sox_effects/sox_effects.py,,apply_effects_tensor,#,56
Before Change
>>> assert sample_rate == 8000
in_signal = torch.classes.torchaudio.TensorSignal(tensor, sample_rate, channels_first)
out_signal = torch.ops.torchaudio.sox_effects_apply_effects_tensor(in_signal, effects)
return out_signal.get_tensor(), out_signal.get_sample_rate()
@_mod_utils.requires_module("torchaudio._torchaudio")
def apply_effects_file(
After Change
>>> waveform, sample_rate = transform(waveform, input_sample_rate)
>>> assert sample_rate == 8000
return torch.ops.torchaudio.sox_effects_apply_effects_tensor(
tensor, sample_rate, effects, channels_first)
@_mod_utils.requires_module("torchaudio._torchaudio")
def apply_effects_file(
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 6
Instances
Project Name: pytorch/audio
Commit Name: 08f188b2f93c1d69691f469482faa6c9df6747f9
Time: 2021-02-02
Author: prabhatr@usc.edu
File Name: torchaudio/sox_effects/sox_effects.py
Class Name:
Method Name: apply_effects_tensor
Project Name: pytorch/audio
Commit Name: 08f188b2f93c1d69691f469482faa6c9df6747f9
Time: 2021-02-02
Author: prabhatr@usc.edu
File Name: torchaudio/sox_effects/sox_effects.py
Class Name:
Method Name: apply_effects_tensor
Project Name: pytorch/audio
Commit Name: 08f188b2f93c1d69691f469482faa6c9df6747f9
Time: 2021-02-02
Author: prabhatr@usc.edu
File Name: torchaudio/sox_effects/sox_effects.py
Class Name:
Method Name: apply_effects_file
Project Name: pytorch/audio
Commit Name: 08f188b2f93c1d69691f469482faa6c9df6747f9
Time: 2021-02-02
Author: prabhatr@usc.edu
File Name: torchaudio/backend/sox_io_backend.py
Class Name:
Method Name: load