def forward(self, x, **kwargs):
        """compute the output given the input `x`. This module does not use
        the task label.

        :param x:
        :return:
        """
        out = self.classifier(x)
        if self.masking:
            mask = torch.logical_not(self.active_units)
            out = out.masked_fill(mask=mask, value=self.mask_value)
        return out
compute the output given the input `x`. This module does not use
        the task label.

        :param x:
        :return:
        
avalanche/models/dynamic_modules.py