Skip to content

Commit fe72361

Browse files
committed
Remove whitespace
1 parent d20f5c5 commit fe72361

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

test/test_functional.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,6 +360,5 @@ def test_mask_along_axis_iid(specgrams, mask_param, mask_value, axis):
360360
assert (num_masked_columns < mask_param).sum() == num_masked_columns.numel()
361361

362362

363-
364363
if __name__ == '__main__':
365364
unittest.main()

torchaudio/functional.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -814,8 +814,7 @@ def gain(waveform, gain_db):
814814
"""
815815
assert waveform.dim() == 2
816816

817-
#gain_db = 20log(Tensor_output/tensor_input)
818-
817+
#gain_db = 20log(Tensor_output/tensor_input)
819818
ratio = 10 ** (gain_db/20)
820819

821820
return waveform * ratio

0 commit comments

Comments
 (0)