Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MoonInTheRiver/DiffSinger
/ dynamic_range_decompression_torch
Function
dynamic_range_decompression_torch
modules/hifigan/mel_utils.py:27–28 ·
view source on GitHub ↗
(x, C=1)
Source
from the content-addressed store, hash-verified
25
26
27
def
dynamic_range_decompression_torch(x, C=1):
28
return
torch.exp(x) / C
29
30
31
def
spectral_normalize_torch(magnitudes):
Callers
1
spectral_de_normalize_torch
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected