IDSIA / brainstorm

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

Network info string #71

Closed halcy closed 8 years ago

halcy commented 8 years ago

Adding to my previous pull request, adds a function that works like print_network_info that returns the network information as a string instead of printing it.

Qwlouse commented 8 years ago

This is a very good point. Could you separate the new network info function from the log commit substitute the old print_network_info with your new function? Maybe call it get_network_info. This way one can just do:

print(tools.get_network_info(network))
halcy commented 8 years ago

Gladly, though likely tomorrow rather than today. I also noticed that I misread parts of the print function, adding newlines instead of tabs, so I'll fix that tomorrow and do a new (and properly separated) pull request.