mirror of
https://github.com/modelscope/FunASR
synced 2025-09-15 14:48:36 +08:00
update
This commit is contained in:
parent
a62ef27d71
commit
1ca3c42282
@ -1082,7 +1082,7 @@ class SenseVoiceQuantizedEncoderPitch(nn.Module):
|
||||
self.normalized_quant_input = normalized_quant_input
|
||||
self.quantizer = self.build_quantizer(quantizer_config)
|
||||
|
||||
self.pitch_predictor = torch.Linear(units, 1)
|
||||
self.pitch_predictor = torch.nn.Linear(units, 1)
|
||||
self.pitch_act = torch.nn.ReLU()
|
||||
|
||||
def build_quantizer(self, vq_config):
|
||||
|
||||
Loading…
Reference in New Issue
Block a user