Fix bug where optimizer clipvalue & clipnorm are totally ignored by the Keras...
Fix bug where optimizer clipvalue & clipnorm are totally ignored by the Keras training loop. Also raise an error when trying to set clipvalue & clipnorm with a distribution strategy, because global gradient clipping w/ a distribution strategy is not supported just yet. We are working on reworking optimizers to make this possible in a different way. PiperOrigin-RevId: 294575398 Change-Id: I3d1bb69857d4ced857928e7dc83729c315ed00f6
Showing
想要评论请 注册 或 登录