@geomstats.tests.np_and_autograd_only
def test_fit_mle(self):
    X = self.X
    tpca = TangentPCA(self.metric, n_components='mle')
    tpca.fit(X)
    self.assertEqual(tpca.n_features_, gs.shape(X)[1])
@geomstats.tests.np_and_autograd_only
def test_fit_mle(self):
    X = self.X
    tpca = TangentPCA(self.metric, n_components='mle')
    tpca.fit(X)
    self.assertEqual(tpca.n_features_, gs.shape(X)[1])