Network cleanup

This commit is contained in:
Shangtong Zhang
2018-01-19 11:29:05 -07:00
parent eb16eeb2a1
commit 63c5d5ea54
5 changed files with 23 additions and 23 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ import numpy as np
# Base class for all kinds of network
class BasicNet:
def __init__(self, optimizer_fn, gpu, LSTM=False):
def __init__(self, gpu, LSTM=False):
self.gpu = gpu and torch.cuda.is_available()
self.LSTM = LSTM
if self.gpu: