evotorch
evotorch copied to clipboard
Introduce functional genetic algorithm operators
Alternative implementations for genetic algorithm operators are introduced. These alternative implementations conform to the paradigm of functional programming, and they are batchable (via simply adding a leftmost dimension to the population, or via torch.func.vmap).
A custom genetic algorithm can be implemented by combining these operators.
Codecov Report
Attention: Patch coverage is 76.09489% with 131 lines in your changes missing coverage. Please review.
Project coverage is 77.02%. Comparing base (
5c58566) to head (27fd934). Report is 14 commits behind head on master.
Additional details and impacted files
@@ Coverage Diff @@
## master #109 +/- ##
==========================================
+ Coverage 76.74% 77.02% +0.27%
==========================================
Files 49 58 +9
Lines 7509 9017 +1508
==========================================
+ Hits 5763 6945 +1182
- Misses 1746 2072 +326
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
:rocket: New features to boost your workflow:
- :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.