class_docstr: Class for the Hypersphere Metric.
docstr: Compute the Riemannian exponential of a tangent vector.
  
  Parameters
  ----------
  tangent_vec : array-like, shape=[..., dim + 1]
      Tangent vector at a base point.
  base_point : array-like, shape=[..., dim + 1]
      Point on the hypersphere.
  
  Returns
  -------
  exp : array-like, shape=[..., dim + 1]
      Point on the hypersphere equal to the Riemannian exponential
      of tangent_vec at the base point.
docstr_tok: ["Compute","the","Riemannian","exponential","of","a","tangent","vector",".","Parameters","--","--","--","--","--","tangent_vec",":","array-like",",","shape=","[","...",",","dim","+","1","]","Tangent","vector","at","a","base","point",".","base_point",":","array-like",",","shape=","[","...",",","dim","+","1","]","Point","on","the","hypersphere",".","Returns","--","--","--","-","exp",":","array-like",",","shape=","[","...",",","dim","+","1","]","Point","on","the","hypersphere","equal","to","the","Riemannian","exponential","of","tangent_vec","at","the","base","point","."]
code: def exp(self, tangent_vec, base_point, **kwargs):
      """Compute the Riemannian exponential of a tangent vector.
  
      Parameters
      ----------
      tangent_vec : array-like, shape=[..., dim + 1]
          Tangent vector at a base point.
      base_point : array-like, shape=[..., dim + 1]
          Point on the hypersphere.
  
      Returns
      -------
      exp : array-like, shape=[..., dim + 1]
          Point on the hypersphere equal to the Riemannian exponential
          of tangent_vec at the base point.
      """
      proj_tangent_vec = self._space.to_tangent(tangent_vec, base_point)
      norm2 = self._space.embedding_space.metric.squared_norm(
          proj_tangent_vec
      )
  
      coef_1 = utils.taylor_exp_even_func(
          norm2, utils.cos_close_0, order=4
      )
      coef_2 = utils.taylor_exp_even_func(
          norm2, utils.sinc_close_0, order=4
      )
      exp = gs.einsum("...,...j->...j", coef_1, base_point) + gs.einsum(
          "...,...j->...j", coef_2, proj_tangent_vec
      )
  
      return exp
  
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 4 for calling the HypersphereMetric obj's underlying member method code with example usage: obj.exp(tangent_vec, base_point) and returns: exp