def extra_repr(self) -> str:
        """Overwriting `nn.Linear.extra_repr` to include new parameters."""
        return "in_features={}, out_features={}, out_additional_features={}, bias={}, partially_freeze={}".format(
            self.in_features,
            self.out_features,
            self.out_additional_features,
            self.bias is not None,
            self.partially_freeze,
        )
Overwriting `nn.Linear.extra_repr` to include new parameters.
dpkd/transformers/src/transformers/models/idefics/modeling_idefics.py