MCPcopy Create free account
hub / github.com/MoonInTheRiver/DiffSinger / normalize

Function normalize

usr/singingvocoder/highgan.py:18–19  ·  view source on GitHub ↗
(S)

Source from the content-addressed store, hash-verified

16
17
18def normalize(S):
19 return np.clip((S + 100) / 100, -2, 2)
20
21
22def load_model_config(checkpoint_path, config_path):

Callers 1

spec2wavMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected