def get_regularization_loss(self, scopes): return losses.regularization_loss(scopes, self._params)
def get_regularization_loss(scopes, params): return losses.regularization_loss(scopes, params)