NeuraLegion / shainet

SHAInet - a pure Crystal machine learning library
MIT License
181 stars 19 forks source link

Use tuples instead of arrays as activation function return types #65

Closed hugoabonizio closed 6 years ago

hugoabonizio commented 6 years ago

This is a tiny optimization.

The formatter was automatically run and changed some lines, I expect you don't mind.

bararchy commented 6 years ago

Hi @hugoabonizio Thanks for the PR, @ArtLinkov will take a look.

ArtLinkov commented 6 years ago

Thanks @hugoabonizio, tuple is a good idea.