At the cost of readability, speeds up this code by about 10 times on my machine. Removes the for loops implementing the passes through the g network in the relational network so that all passes through the g network happen in parallel. They're now passed as a large minibatch; reshaping before and after.
At the cost of readability, speeds up this code by about 10 times on my machine. Removes the for loops implementing the passes through the g network in the relational network so that all passes through the g network happen in parallel. They're now passed as a large minibatch; reshaping before and after.