Example #1
0
 def __init__(self):
     layers = {
         'lower_l1': F.Linear(392, 100),
         'lower_l2': F.Linear(100, 100),
         'lower_l3': F.Linear(100, 50)
     }
     NNpacker.__init__(self, layers, entryPoints=['lower'])
Example #2
0
 def __init__(self):
     layers = {
         'l1': F.Linear(784, 100),
         'l2': F.Linear(100, 100)
     }
     eps = ['target']
     children = {'child': ChildNNP()}
     NNpacker.__init__(self, layers, entryPoints=eps, children=children)
Example #3
0
 def __init__(self):
     layers = {
         'union_l1': F.Linear(100, 50),
         'union_l2': F.Linear(50, 50),
         'union_l3': F.Linear(50, 10)
     }
     children = {'upper': Upper(), 'lower': Lower()}
     NNpacker.__init__(self, layers, children=children)
Example #4
0
 def __init__(self):
     layers = {"lower_l1": F.Linear(392, 100), "lower_l2": F.Linear(100, 100), "lower_l3": F.Linear(100, 50)}
     NNpacker.__init__(self, layers, entryPoints=["lower"])
Example #5
0
 def __init__(self):
     layers = {"union_l1": F.Linear(100, 50), "union_l2": F.Linear(50, 50), "union_l3": F.Linear(50, 10)}
     children = {"upper": Upper(), "lower": Lower()}
     NNpacker.__init__(self, layers, children=children)
Example #6
0
 def __init__(self):
     layers = {}
     entryPoints = ['chtarget']
     NNpacker.__init__(self, layers, entryPoints=entryPoints)