For better performance (#13144)
For better performance (#13144)

move self.l1 and self.l2 outside K.sum may increase the performance of calculating the norm.
In deep learning, the norm should not be very large (a large norm will make loss function useless), so move self.l1 and self.l2 outside K.sum will not cause overflow problem
keras-team/keras,keras-team/keras