Revert "math/py-keras: update 2.9.0 → 3.12.0"
This reverts commit b06413c097976bca49d2d2445c9aa3ea27f11732.