After seeing this answer, I am having some trouble exporting my network. Here is the network generation code:
net = buildNetwork(2, 1, 1, bias=False)
sol = net.activate([2,3])
print("solution", sol)
for mod in net.modules:
for conn in net.connections[mod]:
print("connection:",conn)
for cc in range(len(conn.params)):
print(conn.whichBuffers(cc), conn.params[cc])
output:
solution [ 0.12654066]
connection: <FullConnection 'FullConnection-3': 'hidden0' -> 'out'>
(0, 0) 1.02869832075
connection: <FullConnection 'FullConnection-4': 'in' -> 'hidden0'>
(0, 0) 0.410307885215
(1, 0) -0.928280457049
shouldn't the solution that it kicks out be equal to
(0.410307885215*2-0.928280457049*3)*1.02869832075
which is -2.0206, and not 0.12654066