Skip to content

Commit 20378a7

Browse files
authored
[torchaudio] Fix jitting error
Differential Revision: D80573765 Pull Request resolved: #4053
1 parent 0aaf9a5 commit 20378a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/torchaudio/functional/functional.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -876,7 +876,7 @@ def mask_along_axis_iid(
876876
specgrams = specgrams.transpose(axis, -1)
877877
# this aims to avoid CPU-GPU sync from upstream
878878
specgrams = (
879-
torch.where((mask >= mask_start) & (mask < mask_end), mask_value.repeat(*specgrams.shape), specgrams)
879+
torch.where((mask >= mask_start) & (mask < mask_end), mask_value.repeat(specgrams.shape), specgrams)
880880
if isinstance(mask_value, Tensor)
881881
else specgrams.masked_fill((mask >= mask_start) & (mask < mask_end), mask_value)
882882
)

0 commit comments

Comments
 (0)