Closed engintoklu closed 1 year ago
Merging #34 (604e687) into master (d3e3f0a) will increase coverage by
25.15%
. The diff coverage is77.27%
.
@@ Coverage Diff @@
## master #34 +/- ##
===========================================
+ Coverage 52.97% 78.13% +25.15%
===========================================
Files 43 43
Lines 6233 6307 +74
===========================================
+ Hits 3302 4928 +1626
+ Misses 2931 1379 -1552
Impacted Files | Coverage Δ | |
---|---|---|
src/evotorch/neuroevolution/gymne.py | 79.53% <ø> (+54.44%) |
:arrow_up: |
src/evotorch/neuroevolution/neproblem.py | 92.30% <ø> (+57.14%) |
:arrow_up: |
src/evotorch/neuroevolution/supervisedne.py | 90.47% <ø> (+55.55%) |
:arrow_up: |
src/evotorch/neuroevolution/vecgymne.py | 79.70% <ø> (+58.80%) |
:arrow_up: |
src/evotorch/tools/__init__.py | 100.00% <ø> (ø) |
|
src/evotorch/tools/misc.py | 85.78% <29.16%> (+3.74%) |
:arrow_up: |
src/evotorch/algorithms/ga.py | 63.21% <66.66%> (+43.21%) |
:arrow_up: |
src/evotorch/neuroevolution/net/parser.py | 94.78% <75.00%> (+43.45%) |
:arrow_up: |
src/evotorch/core.py | 73.32% <76.81%> (+7.78%) |
:arrow_up: |
src/evotorch/decorators.py | 100.00% <100.00%> (ø) |
|
... and 30 more |
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.
I think this is ready to be merged.
This pull request aims to bring various changes and improvements to the API of EvoTorch.
num_actors=None
,num_gpus_per_actor=None
.@on_device(device)
: Decorates a fitness function to make the associated problem object become aware of the device on which the evaluations are meant to happen@on_cuda(i)
: Decorates a fitness function to make the associated problem object aware of the CUDA device on which the evaluations are meant to happen@on_aux_device
: Decorates a fitness function to make the associated problem object become aware that the evaluations are meant to happen on the auxiliary device.@vectorized
: Decorates a fitness function to make the associated problem object become aware that the fitness function expects multiple solutions and returns multiple fitnesses.