Skip to content

chore: Syntactic sugar for NIRData#192

Open
benkroehs wants to merge 1 commit into
mainfrom
nirdata
Open

chore: Syntactic sugar for NIRData#192
benkroehs wants to merge 1 commit into
mainfrom
nirdata

Conversation

@benkroehs

Copy link
Copy Markdown
Collaborator

With this PR I want to introduce some syntactic sugar to simplify the access of die different observables and nodes in the NIRGraphData. Concretely this means that something like
spikes = nir_graph_data.nodes['lif'].observables['spikes']
can now be written as
spikes = nir_graph_data['lif']['spikes']

What do you think?

Change-Id: I56f3c99e9c901a18ca03938e749c82efe8629c55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant