Add better error message for LossScaleOptimizer AttributeError.
Before, the error message would be something like "LossScaleOptimizer object has no attribute _hyper", even if the accessed attribute was not _hyper. PiperOrigin-RevId: 258462751
Showing
想要评论请 注册 或 登录