Closed thib-s closed 1 year ago
added following optimizations in normalizers.py:
maxiter_bjorck
maxiter_spectral
SWAP_MEMORY
STOP_GRAD_SPECTRAL
The way to set the two last parameters is subject to discussion, I chose this method to avoid clutter layers interfaces.
updated by fixing following problems:
layer.get_config
tf.random.uniform
tf.ones
added following optimizations in normalizers.py:
maxiter_bjorck
andmaxiter_spectral
parametersSWAP_MEMORY
andSTOP_GRAD_SPECTRAL
and function to set those (default values fallback to original behavior)The way to set the two last parameters is subject to discussion, I chose this method to avoid clutter layers interfaces.