code: def get_batch_shape(point_ndim, *point):
      """Get batch shape.
  
      Parameters
      ----------
      point_ndim : int
          Point number of array dimensions.
      point : array-like or None
          Point belonging to the space.
  
      Returns
      -------
      batch_shape : tuple
          Returns the shape related with batch. () if only one point.
      """
      point = list(filter(_is_not_none, point))
      if len(point) == 0:
          return ()
      point_max_ndim = _get_max_ndim_point(*point)
      return point_max_ndim.shape[:-point_ndim]
  
file_path: geomstats/geomstats/vectorization.py
imports: import math
  import geomstats.backend
label_desc: Use image node_id 4 for calling a global function with example usage: get_batch_shape(point_ndim) and returns: point_max_ndim, 