mirror of
https://github.com/wassname/TTS.git
synced 2026-09-09 11:16:00 +08:00
unused var
This commit is contained in:
@@ -234,10 +234,10 @@ class Attention(nn.Module):
|
||||
|
||||
def forward(self, query, inputs, processed_inputs, mask):
|
||||
if self.location_attention:
|
||||
attention, processed_query = self.get_location_attention(
|
||||
attention, _ = self.get_location_attention(
|
||||
query, processed_inputs)
|
||||
else:
|
||||
attention, processed_query = self.get_attention(
|
||||
attention, _ = self.get_attention(
|
||||
query, processed_inputs)
|
||||
# apply masking
|
||||
if mask is not None:
|
||||
|
||||
Reference in New Issue
Block a user