def reparameterize(mu, logvar):
    eps = Variable(torch.randn(mu.size(0), mu.size(1))).cuda()
    z = (mu + (eps * torch.exp((logvar / 2))))
    return z
def reparameterize(mu, logvar):
    eps = Variable(torch.randn(mu.size(0), mu.size(1))).cuda()
    z = (mu + (eps * torch.exp((logvar / 2))))
    return z