-
Notifications
You must be signed in to change notification settings - Fork 319
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(nns): Move inactive neurons in the heap to stable storage throug…
…h a timer (#2643) # Why This change has 2 purposes: * While the target neuron location criteria doesn't change (inactive neuron -> stable), some neurons can become inactive due to the passage of time, this change migrates those neurons to stable storage in a timer * In the future, when the stable storage for active neurons is enabled, this change will also move the active neurons to stable storage in a similar fashion # What * Removing a state machine test regarding neuron indexes. It is not useful anymore because the migration is over. * Adding a similar state machine test for the current use case * Adding the capability for moving a batch of neurons from heap memory to stable storage * Schedule a timer to execute the migration code
- Loading branch information
1 parent
1d73be3
commit c906569
Showing
7 changed files
with
296 additions
and
132 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.