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'])
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)
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)
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"])
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)
def __init__(self): layers = {} entryPoints = ['chtarget'] NNpacker.__init__(self, layers, entryPoints=entryPoints)