def init_layer(layer):
    """Initialize a Linear or Convolutional layer."""
    nn.init.xavier_uniform_(layer.weight)

    if hasattr(layer, "bias"):
        if layer.bias is not None:
            layer.bias.data.fill_(0.0)
Initialize a Linear or Convolutional layer.
models/tta/picoaudio/picoaudio/audioldm/clap/open_clip/pann_model.py