You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
had to add a call to set the x variable to use cuda
def forward(self, n, y):
x = Variable(torch.randn((n, 32-10)), requires_grad=False)
if use_cuda:
x = x.cuda()
x = torch.cat([x, y], 1)
for layer in self.layers:
x = layer(x)
return x