if self.layer7 is not None:
            x = self.layer7(x)
            y.append(x)