src/transformers/models/qdqbert/modeling_qdqbert.py/QDQBertIntermediate/__init__
class QDQBertIntermediate:    def __init__(self, config):
        super().__init__()
        # Quantize Linear layer
        self.dense = quant_nn.QuantLinear(config.hidden_size, config.intermediate_size)
        if isinstance(config.hidden_act, str):
            self.intermediate_act_fn = ACT2FN[config.hidden_act]
        else:
            self.intermediate_act_fn = config.hidden_act