class_docstr: Class for Riemannian and pseudo-Riemannian metrics.
  
  The associated Levi-Civita connection on the tangent bundle.
class_docstr_tok: ["Class","for","Riemannian","and","pseudo-Riemannian","metrics",".","The","associated","Levi-Civita","connection","on","the","tangent","bundle","."]
code: def __init__(self, space, signature=None):
      super().__init__(space=space)
      if signature is None:
          signature = (space.dim, 0)
      self.signature = signature
  
imports: from abc import ABC
  import joblib
  import geomstats.backend
  import geomstats.geometry
  from geomstats.geometry.connection import Connection
  from geomstats.vectorization import check_is_batch
label_desc: Use image node_id 1 to create a new RiemannianMetric object from inherited base classes: Connection, ABC with example: obj = RiemannianMetric(space, signature)