[network] Add a predict function for running inputs through the network.
[network] Add a predict function for running inputs through the network.

thinktopic/cortex,thinktopic/cortex,thinktopic/cortex,thinktopic/cortex