Esempio n. 1
0
 def __init__(self, net, input, target, **kwargs):
     self.net = net
     self.input = input
     self.target = target
     self.kwargs = kwargs
     self.x = tool.np_get_ref(net)
     self.lerr = 1e10
Esempio n. 2
0
 def __init__(self, net, input, target, **kwargs):
     self.net = net
     self.input = input
     self.target = target
     self.kwargs = kwargs
     self.x = tool.np_get_ref(net)
     self.lerr = 1e10
Esempio n. 3
0
 def __init__(self, net, input, target, lr=0.01, adapt=False):
     self.adapt = adapt
     self.lr = lr
     self.x = tool.np_get_ref(net)
Esempio n. 4
0
 def __init__(self, net, input, target, lr=0.01, adapt=False):
     self.adapt = adapt
     self.lr = lr
     self.x = tool.np_get_ref(net)
Esempio n. 5
0
 def __init__(self, net, input, target, lr=0.01, adapt=False):
     self.adapt = adapt
     self.lr = lr
     self.x = tool.np_get_ref(net)
     # Regularization not suppotr
     self.rr = 0