No changes required in the code itself, but one of the tests was failing. The test was using seeded weight initializers to ensure that different layers had the same weights, but that behaviour appears to be broken in TF 2.7 (see https://github.com/keras-team/keras/issues/15586). So I switched the way the initialization works in that test so that it doesn't depend on TensorFlow's RNG.
No changes required in the code itself, but one of the tests was failing. The test was using seeded weight initializers to ensure that different layers had the same weights, but that behaviour appears to be broken in TF 2.7 (see https://github.com/keras-team/keras/issues/15586). So I switched the way the initialization works in that test so that it doesn't depend on TensorFlow's RNG.