guides/making_new_layers_and_models_via_subclassing.py/OuterLayerWithKernelRegularizer/__init__
class OuterLayerWithKernelRegularizer:    def __init__(self):
        super().__init__()
        self.dense = keras.layers.Dense(
            32, kernel_regularizer=keras.regularizers.l2(1e-3)
        )