def get_params(self) -> tuple[list[Parameter], list[Parameter]]:
        """Get segmentation and classification head parameters.

        Returns:
            seg. head parameters and class. head parameters.
        """
        seg_params = list(self.seg_head.parameters())
        dec_params = list(self.cls_conv.parameters()) + list(self.cls_fc.parameters())
        return seg_params, dec_params
Get segmentation and classification head parameters.

        Returns:
            seg. head parameters and class. head parameters.
        
src/anomalib/models/image/supersimplenet/torch_model.py