def loadweight(str,n):
    #load
    txtx = []
    txtx = dewweight.dew_read_weight_file(str)
    n.wi, n.wo = txtx
    bc = []
    bc = n.wi , n.wo
    return bc
Exemplo n.º 2
0
def loadweight(str):
    #load
    txtx = []
    txtx = dewweight.dew_read_weight_file(str)

    print "..."
    print txtx
    nni, nnh, nnh2, nno = txtx[0]
    nwi, nwo, nwo2 = txtx[1]

    bd = txtx[0], txtx[1]
    return bd