-
Notifications
You must be signed in to change notification settings - Fork 177
Modifications/Cleanup/Improvements to Time-Stepped Circuit IRDrop example and model implementation #753
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
base: master
Are you sure you want to change the base?
Modifications/Cleanup/Improvements to Time-Stepped Circuit IRDrop example and model implementation #753
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| @@ -1,6 +1,6 @@ | ||||||||||
| # -*- coding: utf-8 -*- | ||||||||||
|
|
||||||||||
| # (C) Copyright 2020, 2021, 2022, 2023, 2024 IBM. All Rights Reserved. | ||||||||||
| # (C) Copyright 2020, 2021, 2022, 2023, 2024, 2025 IBM. All Rights Reserved. | ||||||||||
| # | ||||||||||
| # Licensed under the MIT license. See LICENSE file in the project root for details. | ||||||||||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please change the license lines to the following license statement so that it is consistent with the rest of the AIHWKIT: |
||||||||||
|
|
||||||||||
|
|
@@ -32,11 +32,7 @@ class IOParameters(_PrintableMixin): | |||||||||
| """Short-cut to compute a perfect forward pass. | ||||||||||
|
|
||||||||||
| If ``True``, it assumes an ideal forward pass (e.g. no bound, ADC etc...). | ||||||||||
| Will disregard all other IOParameters settings in this case. | ||||||||||
|
|
||||||||||
| Note that other noise sources set by | ||||||||||
| :class:`aihwkit.simulator.parameters.inference.WeightModifierParameter` | ||||||||||
| and :class:`aihwkit.inference.noise` will still be applied. | ||||||||||
| Will disregard all other settings in this case. | ||||||||||
|
||||||||||
| Will disregard all other settings in this case. | |
| Will disregard all other settings in this case. Note, however, that some noise sources | |
| (such as those from :class:`WeightModifierParameter` and :mod:`aihwkit.inference.noise`) | |
| may still be active even when ``is_perfect=True``. |
Copilot
AI
Dec 5, 2025
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.
[nitpick] Inconsistent spacing in documentation formatting. The indentation is 4 spaces for this line while line 180 has 8 spaces (before the change). This creates an inconsistent code block formatting in the docstring.
| out_nonlinearity / out_bound * (1 + out_nonlinearity_std * rand) | |
| out_nonlinearity / out_bound * (1 + out_nonlinearity_std * rand) |
Copilot
AI
Dec 5, 2025
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.
Typo in documentation: "taken that" should be "given that" for correct grammar.
| implemented within analog_mvm_irdrop_t taken that it requires | |
| implemented within analog_mvm_irdrop_t given that it requires |
Copilot
AI
Dec 5, 2025
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.
Typo in docstring: "integation" should be "integration".
| trapezoidal integation method. | |
| trapezoidal integration method. |
Uh oh!
There was an error while loading. Please reload this page.
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.
Please change the license lines to the following license statement so that it is consistent with the rest of the AIHWKIT: