How to print all Loihi simulator compiler output over the entire simulation graph. #240
Unanswered
russelljjarvis
asked this question in
Q&A
Replies: 2 comments 1 reply
-
You are deep into the domain of interacting with "private" data structures at the user level. What objective are you pursuing in printing out 'builder' fields? What do you define as 'simulation code' and 'simulation graph'? |
Beta Was this translation helpful? Give feedback.
1 reply
-
Hey, I can see, I think we can do something similar using networkX weighted graphs which has added al attributes
…________________________________
From: Russell Jarvis ***@***.***>
Sent: 02 May 2022 16:29
To: lava-nc/lava ***@***.***>
Cc: Samalika Perera ***@***.***>; Mention ***@***.***>
Subject: [lava-nc/lava] How to print all Loihi simulator compiler output over the entire simulation graph. (Discussion #240)
I have made an elaborate cortical simulation and I am trying to print out the Loihi simulation code.
I have found how to print out parts of the graph using object attributes (see code example below), but I wonder how I can print out all relevant compiler information all at once not just for the cortical_column_monitor but for every network monitor?
c = Compiler()
exe = c.compile(cortical_column_monitor, Loihi1SimCfg())
print(next(iter(exe.py_builders)).proc_params,
other_column.proc_params)
print(next(iter(exe.py_builders)).weights)
print(next(iter(exe.py_builders)).in_ports)
print(next(iter(exe.py_builders)).weight_exp)
print(next(iter(exe.py_builders)).a_out)
print(next(iter(exe.py_builders)).num_weight_bits)
@samalika<https://github.com/samalika>
—
Reply to this email directly, view it on GitHub<#240>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ANZ72J2WH6KX2DITBQAJGBDVH5Y3XANCNFSM5TXJ2QOA>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have made an elaborate cortical simulation and I am trying to print out the Loihi simulation code.
I have found how to print out parts of the graph using object attributes (see code example below), but I wonder how I can print out all relevant compiler information all at once not just for the
cortical_column_monitor
but for every network monitor?@samalika
@wangrunchun
Beta Was this translation helpful? Give feedback.
All reactions