-
Notifications
You must be signed in to change notification settings - Fork 144
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
Conv Process Implementation #73
Conversation
Signed-off-by: bamsumit <[email protected]>
Signed-off-by: bamsumit <[email protected]>
Signed-off-by: bamsumit <[email protected]>
Signed-off-by: bamsumit <[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.
Looks good. Just some minor comments.
… and their unittests Signed-off-by: bamsumit <[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.
There are a few changes needed. Especially the ReceiveProcess has its ProcessModels flipped.
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.
Just some additional comments
…Sudmedh's comments Signed-off-by: bamsumit <[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.
My only 2 comments are surrounding unit tests. Can we add some unit tests for the Conv Connection behavior that don't rely on Torch?
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.
Looks great, Sumit!
- Not sure whether this is a general convention but elsewhere we use type hints in class, method, and function signatures. Maybe add an issue for that and do it later.
This is probably clear to some due to internal conversations but the title is not descriptive and I don't see an issue for this pull. Can we please follow the process, I.E. open an issue that explains the change and have at least a minimal explanation of the work in the pull request? |
Signed-off-by: bamsumit <[email protected]>
Signed-off-by: bamsumit <[email protected]>
Signed-off-by: bamsumit <[email protected]>
Signed-off-by: bamsumit <[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.
Nothing major except for missing indentation of function arguments that start in a new line. That makes code not very readable.
Could be fixed later but we should not leave it like that.
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.
Thanks for adding a known input-output unit test of conv behavior for users w/out Torch installed! Looks good!
Signed-off-by: bamsumit <[email protected]>
* Conv process implementation with unittests. Signed-off-by: bamsumit <[email protected]> * updated requirements and test inits Signed-off-by: bamsumit <[email protected]> * tweak unittests Signed-off-by: bamsumit <[email protected]> * fix merge conflict Signed-off-by: bamsumit <[email protected]> * Fix to comments, fixed lif warnings, refactored source sink processes and their unittests Signed-off-by: bamsumit <[email protected]> * flesh source/sink nomenclature. Fix overflow/underflow bug. Resolved Sudmedh's comments Signed-off-by: bamsumit <[email protected]> * New ground truth based conv implementation test * type hinting fix Signed-off-by: bamsumit <[email protected]> * removed unnecessary commented code Signed-off-by: bamsumit <[email protected]> * typehinting consistency fix: np.array -> np.ndarray Signed-off-by: bamsumit <[email protected]> * static seeds in unittest Signed-off-by: bamsumit <[email protected]> * fixes for clean init merge Signed-off-by: bamsumit <[email protected]> Co-authored-by: Risbud, Sumedh <[email protected]>
Implementation of conv process and process models.