Skip to content
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

Iterator callback fx signature fix #743

Merged
merged 53 commits into from
Jul 21, 2023
Merged
Changes from all commits
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
141e732
update refport unittest to always wait when it writes to port for con…
bamsumit Mar 8, 2022
7097dd8
Removed pyproject changes
bamsumit Mar 8, 2022
5234c1b
Merge branch 'lava-nc:main' into main
bamsumit Mar 8, 2022
2644255
Merge branch 'lava-nc:main' into main
bamsumit Mar 8, 2022
a3116bb
Merge branch 'lava-nc:main' into main
bamsumit Apr 20, 2022
31715fc
Merge branch 'lava-nc:main' into main
bamsumit Apr 21, 2022
f90595d
Merge branch 'main' of github.com:lava-nc/lava into main
bamsumit Apr 21, 2022
c988ad8
Merge branch 'main' of github.com:bamsumit/lava into main
bamsumit Apr 21, 2022
be2ba52
Merge branch 'lava-nc:main' into main
bamsumit May 20, 2022
1fb7353
Fix to convolution tests. Fixed imcompatible mnist_pretrained for old…
bamsumit May 20, 2022
4a58d97
merged with upstream
bamsumit Jul 15, 2022
d4636c3
Merge branch 'main' of github.com:lava-nc/lava into main
bamsumit Jul 27, 2022
68c817c
Missing moudle parent fix
bamsumit Jul 28, 2022
1b59e58
Merge branch 'main' of github.com:lava-nc/lava into main
bamsumit Jul 29, 2022
9099529
Merge branch 'main' of github.com:lava-nc/lava into main
bamsumit Aug 1, 2022
fd5b813
Merge branch 'main' of github.com:lava-nc/lava into main
bamsumit Aug 25, 2022
fd2163c
Added ConvVarModel
joyeshmishra Aug 26, 2022
2fb345c
Merge branch 'main' of github.com:lava-nc/lava into main
bamsumit Aug 29, 2022
8e73642
Merge branch 'conv_manager' of github.com:lava-nc/lava into main
bamsumit Aug 29, 2022
c441098
Merge branch 'main' of github.com:lava-nc/lava into main
bamsumit Sep 2, 2022
964c5ca
Merge branch 'main' into main
bamsumit Sep 16, 2022
8b2e8a2
Merged with lava-nc main
bamsumit Sep 19, 2022
4431f61
Merge branch 'main' of github.com:bamsumit/lava into main
bamsumit Sep 19, 2022
7e154fc
Merge branch 'main' of github.com:lava-nc/lava into main
bamsumit Sep 27, 2022
c5b5509
Merge branch 'main' of github.com:lava-nc/lava into main
bamsumit Sep 28, 2022
2241e23
Merge branch 'main' of github.com:lava-nc/lava into main
bamsumit Sep 29, 2022
95545a2
Merge branch 'main' of github.com:lava-nc/lava into main
bamsumit Sep 29, 2022
f73747a
Merge branch 'main' of github.com:lava-nc/lava into main
bamsumit Oct 14, 2022
5b7f05b
Merge branch 'main' of github.com:lava-nc/lava into main
bamsumit Oct 20, 2022
42909fa
Merge branch 'main' of github.com:lava-nc/lava into main
bamsumit Oct 20, 2022
79aebe0
Merge branch 'main' of github.com:lava-nc/lava into main
bamsumit Oct 24, 2022
cc823b9
Merge branch 'main' of github.com:lava-nc/lava into main
bamsumit Oct 25, 2022
da48c96
Merge branch 'main' of github.com:lava-nc/lava into main
bamsumit Oct 28, 2022
53a2e92
Merge branch 'main' of github.com:lava-nc/lava into main
bamsumit Nov 2, 2022
9aa1a8f
Merge branch 'main' of github.com:lava-nc/lava into main
bamsumit Nov 9, 2022
3cf2d8b
Merge branch 'main' of github.com:lava-nc/lava into main
bamsumit Nov 9, 2022
7c90dd9
Merge branch 'main' of github.com:lava-nc/lava into main
bamsumit Dec 19, 2022
0e03bbc
Merge branch 'main' of github.com:lava-nc/lava into main
bamsumit Jan 11, 2023
215420a
Merge branch 'main' of github.com:lava-nc/lava into main
bamsumit Feb 1, 2023
1eb8994
Merge branch 'main' of github.com:lava-nc/lava into main
bamsumit Feb 23, 2023
b355688
Merge branch 'main' of github.com:lava-nc/lava into main
bamsumit Mar 13, 2023
f2bae79
Merge branch 'main' of github.com:lava-nc/lava into main
bamsumit Apr 17, 2023
eec5d99
Merge branch 'main' of github.com:lava-nc/lava into main
bamsumit Apr 20, 2023
1ce9e03
Merge branch 'main' of github.com:lava-nc/lava into main
bamsumit May 4, 2023
b0642e9
Merge branch 'main' of github.com:lava-nc/lava into main
bamsumit Jun 7, 2023
27c81c2
Added iterable callback function
bamsumit Jun 27, 2023
2b069fe
Merge branch 'main' into main
bamsumit Jun 27, 2023
e189d8a
Fix codacy issues in callback_fx.py
mgkwill Jun 28, 2023
4f50a36
Fix linting in callback_fx.py
mgkwill Jun 28, 2023
d06bf79
Fix codacy sig issue in callback_fx.py
mgkwill Jun 28, 2023
bd0c756
Iterator callback fx fix
bamsumit Jul 21, 2023
8e57450
Merge branch 'lava-nc:main' into main
bamsumit Jul 21, 2023
f7166aa
Merge branch 'main' of github.com:bamsumit/lava into main
bamsumit Jul 21, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/lava/magma/core/callback_fx.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,14 +73,14 @@ def __init__(self,

def pre_run_callback(self,
board: NxBoard = None,
_var_id_to_var_model_map: dict = None
var_id_to_var_model_map: dict = None
) -> None:
for fx in self.pre_run_fxs:
fx(board)

def post_run_callback(self,
board: NxBoard = None,
_var_id_to_var_model_map: dict = None
var_id_to_var_model_map: dict = None
) -> None:
for fx in self.post_run_fxs:
fx(board)