Provide a mechanism for caching computation graphs.
Provide a mechanism for caching computation graphs.

I'm not sure whether this is really needed, since all access to the
graph now happens by calling loss() ... but it has seemed like something
that I should add for a little bit now.

devdoer/theanets,lmjohns3/theanets,chrinide/theanets