mirror of
https://github.com/coqui-ai/TTS.git
synced 2026-07-12 13:31:01 +02: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