class_docstr: Class for the Hypersphere Metric.
docstr: Compute the radius of the injectivity domain.
  
  This is is the supremum of radii r for which the exponential map is a
  diffeomorphism from the open ball of radius r centered at the base
  point onto its image.
  In the case of the sphere, it does not depend on the base point and is
  Pi everywhere.
  
  Parameters
  ----------
  base_point : array-like, shape=[..., dim+1]
      Point on the manifold.
  
  Returns
  -------
  radius : array-like, shape=[...,]
      Injectivity radius.
docstr_tok: ["Compute","the","radius","of","the","injectivity","domain",".","This","is","is","the","supremum","of","radii","r","for","which","the","exponential","map","is","a","diffeomorphism","from","the","open","ball","of","radius","r","centered","at","the","base","point","onto","its","image",".","In","the","case","of","the","sphere",",","it","does","not","depend","on","the","base","point","and","is","Pi","everywhere",".","Parameters","--","--","--","--","--","base_point",":","array-like",",","shape=","[","...",",","dim+1","]","Point","on","the","manifold",".","Returns","--","--","--","-","radius",":","array-like",",","shape=","[","...",",","]","Injectivity","radius","."]
code: def injectivity_radius(self, base_point):
      """Compute the radius of the injectivity domain.
  
      This is is the supremum of radii r for which the exponential map is a
      diffeomorphism from the open ball of radius r centered at the base
      point onto its image.
      In the case of the sphere, it does not depend on the base point and is
      Pi everywhere.
  
      Parameters
      ----------
      base_point : array-like, shape=[..., dim+1]
          Point on the manifold.
  
      Returns
      -------
      radius : array-like, shape=[...,]
          Injectivity radius.
      """
      radius = gs.array(gs.pi)
      return repeat_out(self._space.point_ndim, radius, base_point)
  
imports: import logging
  import math
  from itertools import product
  from scipy.stats import beta
  import geomstats.algebra_utils
  import geomstats.backend
  from geomstats.geometry.base import LevelSet
  from geomstats.geometry.euclidean import Euclidean
  from geomstats.geometry.riemannian_metric import RiemannianMetric
  from geomstats.vectorization import get_batch_shape, repeat_out
label_desc: Use image node_id 16 for calling the HypersphereMetric obj's underlying member method code with example usage: obj.injectivity_radius(base_point) and returns: repeat_out