-
Notifications
You must be signed in to change notification settings - Fork 0
Add 2D conv #5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add 2D conv #5
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The memristor forward is hard to review for correctness, so I trust you on the correctness because it is difficult to get it to run and have bugs at the same time. Seems like the bit-exponent off by one error is fixed for all modules?
So the rest is LGTM!
Requested changes because test is not run, see comment.
size = flat.shape[0] | ||
positive_cells = CellArrayCPU(size) | ||
negative_cells = CellArrayCPU(size) | ||
for _ in range(num_cycles * 50): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why * 50
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah the other modules have it as well.. why?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In order to have cycles independent we needed a value larger than the internal cycle history of synaptogen.
We found it easier to not expose this to the outside, otherwise you have to set cycles always with a factor, which we deemed not so nice.
Co-authored-by: Moritz Gunz <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚢
No description provided.