@geomstats.tests.np_and_autograd_only
def test_fit_transform_vector(self):
    expected = 2
    tpca = TangentPCA(metric=self.metric, n_components=expected)
    tangent_projected_data = tpca.fit_transform(self.X)
    result = tangent_projected_data.shape[(- 1)]
    self.assertAllClose(result, expected)
@geomstats.tests.np_and_autograd_only
def test_fit_transform_vector(self):
    expected = 2
    tpca = TangentPCA(metric=self.metric, n_components=expected)
    tangent_projected_data = tpca.fit_transform(self.X)
    result = tangent_projected_data.shape[(- 1)]
    self.assertAllClose(result, expected)