From 98a019d1de7abe65213781e40f56b92159766598 Mon Sep 17 00:00:00 2001 From: Eren Golge Date: Thu, 10 May 2018 16:35:38 -0700 Subject: [PATCH] remove Variable from models/tacotron.py --- layers/attention.py | 1 - layers/tacotron.py | 1 - 2 files changed, 2 deletions(-) diff --git a/layers/attention.py b/layers/attention.py index 3bab1ad6..51d3542a 100644 --- a/layers/attention.py +++ b/layers/attention.py @@ -1,5 +1,4 @@ import torch -from torch.autograd import Variable from torch import nn from torch.nn import functional as F diff --git a/layers/tacotron.py b/layers/tacotron.py index 96c27328..4d23835f 100644 --- a/layers/tacotron.py +++ b/layers/tacotron.py @@ -1,7 +1,6 @@ # coding: utf-8 import torch from torch import nn - from .attention import AttentionRNN from .attention import get_mask_from_lengths