New styles of event-driven computation operators #35
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request includes several changes across multiple files to add new features, improve existing functionality, and update licensing information. The most important changes are summarized below:
New Features and Implementations:
COBA_2005.py
andCUBA_2005.py
, including detailed documentation, initialization of network parameters, and simulation functions. [1] [2]Licensing Updates:
Codebase Enhancements:
brainstate/event/__init__.py
to include imports from the new_xla_custom_op
module, and adjusted the__all__
list accordingly.brainstate/event/_csr.py
to improve parameter naming and add support for new size types. Updated theCSRLinear
class and its methods for better clarity and functionality. [1] [2] [3] [4] [5] [6] [7]Testing and Benchmarking:
brainstate/event/_fixed_probability_benchmark.py
to measure performance improvements and acceleration ratios.brainstate/event/_fixed_probability_test.py
to use the newFixedProb
module path and ensure proper functionality. [1] [2]