keras/src/applications/convnext.py/LayerScale/build
class LayerScale:    def build(self, _):
        self.gamma = self.add_weight(
            shape=(self.projection_dim,),
            initializer=initializers.Constant(self.init_values),
            trainable=True,
        )