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