IDSIA / brainstorm

Fast, flexible and fun neural networks.
Other
1.3k stars 154 forks source link

Added 'extract' function #80

Closed halcy closed 8 years ago

halcy commented 8 years ago

Performs a forward pass on data and returns requested output buffers

Supplanting https://github.com/IDSIA/brainstorm/pull/72 , and as discussed there.

flukeskywalker commented 8 years ago

Cool, thanks! I'll improve it a bit later, so that looping over the time steps and batches is not required.

halcy commented 8 years ago

I was wondering if that was easily possible, the manual looping and copying seems inelegant, but I am not that well-versed in using numpy ndarrays. Thanks!