facebookresearch / nevergrad

A Python toolbox for performing gradient-free optimization
https://facebookresearch.github.io/nevergrad/
MIT License
3.89k stars 349 forks source link

Update sphere.py -- add pooling and max_pooling #1596

Closed mzameshina closed 4 months ago

mzameshina commented 4 months ago

Types of changes

Motivation and Context / Related issue

How Has This Been Tested (if it applies)

Checklist

teytaud commented 4 months ago

Does it run ? This does not work as Torch is not in the dependencies. I recommend not using torch, as it would imply a big dependency.

Also you need black.