def test_ae_fit_score_rolled_pytorch(self):
        y = self.create_data()
        ad = AEDetector(roll_len=314, backend="torch")
        ad.fit(y)
        anomaly_scores = ad.score()
        assert len(anomaly_scores) == len(y)
        anomaly_indexes = ad.anomaly_indexes()
        assert len(anomaly_indexes) == int(ad.ratio * len(y))