adf9ebd629abc21e0969db2a1c29f389b5301c9d,models/tacotron.py,Tacotron,__init__,#Tacotron#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#,11

Before Change


                               proj_speaker_dim)
        if self.bidirectional_decoder:
            self.decoder_backward = copy.deepcopy(self.decoder)
        self.postnet = PostCBHG(decoder_output_dim)
        self.last_linear = nn.Linear(self.postnet.cbhg.gru_features * 2,
                                     postnet_output_dim)
        // speaker embedding layers
        if num_speakers > 1:
            self.speaker_embedding = nn.Embedding(num_speakers, 256)
            self.speaker_embedding.weight.data.normal_(0, 0.3)

After Change


            self.decoder_backward = copy.deepcopy(self.decoder)
        self.postnet = PostCBHG(decoder_output_dim)
        self.last_linear = nn.Linear(self.postnet.cbhg.gru_features * 2,
                                     postnet_output_dim)
        // speaker embedding layers
        if num_speakers > 1:
            self.speaker_embedding = nn.Embedding(num_speakers, 256)
            self.speaker_embedding.weight.data.normal_(0, 0.3)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 13

Instances


Project Name: mozilla/TTS
Commit Name: adf9ebd629abc21e0969db2a1c29f389b5301c9d
Time: 2019-11-12
Author: egolge@mozilla.com
File Name: models/tacotron.py
Class Name: Tacotron
Method Name: __init__


Project Name: mozilla/TTS
Commit Name: 8a1c113df6403b0aae6d951fec8624643953e018
Time: 2020-08-05
Author: edresson1@gmail.com
File Name: mozilla_voice_tts/tts/models/tacotron.py
Class Name: Tacotron
Method Name: __init__


Project Name: mozilla/TTS
Commit Name: 99d5a0ac0749f7daa0c09a8b62d33efe812eaff6
Time: 2020-09-29
Author: edresson1@gmail.com
File Name: TTS/tts/models/tacotron.py
Class Name: Tacotron
Method Name: __init__