class_docstr: Class for product of Riemannian metrics.
class_docstr_tok: ["Class","for","product","of","Riemannian","metrics","."]
docstr: Shape of space.
docstr_tok: ["Shape","of","space","."]
code: def shape(self):
      """Shape of space."""
      return self._space.shape
  
imports: import math
  import geomstats.backend
  import geomstats.errors
  from geomstats.geometry.complex_manifold import ComplexManifold
  from geomstats.geometry.complex_riemannian_metric import ComplexRiemannianMetric
  from geomstats.geometry.manifold import Manifold
  from geomstats.geometry.riemannian_metric import RiemannianMetric
  from geomstats.vectorization import get_batch_shape
label_desc: Use image node_id 2 for calling the ProductRiemannianMetric obj's underlying member method code with example usage: obj.shape() and returns: self