Skip to content

Conversation

@mingodad
Copy link
Contributor

@mingodad mingodad commented Jul 2, 2018

This is my latest refactoring of neural-redis, I did it to learn/understand it and to use with https://github.com/mingodad/squilu

The code for AVX and AVX512 still use unaligned memory because on some machine it doesn't work with aligned memory.

The random initialisation used in tests/nn-benchmark.c wasn't working properly so I changed the it to have a better entropy.

Added a function "Ann2Js" to generate a javascript function emulating the trained network, also fixed/changed the generated TCL in "An2Tcl" because it was broken.

I'm still do not like/understand the way weight/gradient/pgradient/delta are indexed but I could not find a better working way till now.

This is here just in case it can be util to other people too.

Cheers !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant