예제 #1
0
 def __init__(self, indim=100, outdim=10, init=uniforminit(), Wreg=None, W=None, idxoffset=0):
     '''
     :param indim:
     :param outdim:
     :param init:
     :param Wreg:
     :return:
     '''
     self.indim = indim
     self.outdim = outdim
     self.Wreg = Wreg
     self.init = uniforminit()
     self.W = W
     self.idxoffset = idxoffset
예제 #2
0
 def __init__(self, indim=100, outdim=10, Wreg=None, W=None, idxoffset=0):
     self.indim = indim
     self.outdim = outdim
     self.W = W
     self.Wreg = Wreg
     self.init = uniforminit()
     self.idxoffset = idxoffset