guides/training_with_built_in_methods.py/ActivityRegularizationLayer/call
class ActivityRegularizationLayer:    def call(self, inputs):
        self.add_loss(ops.sum(inputs) * 0.1)
        return inputs  # Pass-through layer.