class_docstr: Abstract base dispatcher for pairwise distance computation & reduction.
  
  Each dispatcher extending the base :class:`BaseDistancesReductionDispatcher`
  dispatcher must implement the :meth:`compute` classmethod.
docstr: Compute the reduction.
  
  Parameters
  ----------
  X : ndarray or CSR matrix of shape (n_samples_X, n_features)
      Input data.
  
  Y : ndarray or CSR matrix of shape (n_samples_Y, n_features)
      Input data.
  
  **kwargs : additional parameters for the reduction
  
  Notes
  -----
  This method is an abstract class method: it has to be implemented
  for all subclasses.
docstr_tok: ["Compute","the","reduction",".","Parameters","--","--","--","--","--","X",":","ndarray","or","CSR","matrix","of","shape","(","n_samples_X",",","n_features",")","Input","data",".","Y",":","ndarray","or","CSR","matrix","of","shape","(","n_samples_Y",",","n_features",")","Input","data",".","*","*","kwargs",":","additional","parameters","for","the","reduction","Notes","--","--","-","This","method","is","an","abstract","class","method",":","it","has","to","be","implemented","for","all","subclasses","."]
code: def compute(
      cls,
      X,
      Y,
      **kwargs,
  ):
      """Compute the reduction.
  
      Parameters
      ----------
      X : ndarray or CSR matrix of shape (n_samples_X, n_features)
          Input data.
  
      Y : ndarray or CSR matrix of shape (n_samples_Y, n_features)
          Input data.
  
      **kwargs : additional parameters for the reduction
  
      Notes
      -----
      This method is an abstract class method: it has to be implemented
      for all subclasses.
      """
  
imports: from abc import abstractmethod
  from typing import List
  import numpy
  from scipy.sparse import issparse
  from ...None import get_config
  from .._dist_metrics import BOOL_METRICS, METRIC_MAPPING64
  from ._argkmin import ArgKmin32, ArgKmin64
  from ._argkmin_classmode import ArgKminClassMode32, ArgKminClassMode64
  from ._base import _sqeuclidean_row_norms32, _sqeuclidean_row_norms64
  from ._radius_neighbors import RadiusNeighbors32, RadiusNeighbors64
label_desc: Use image node_id 3 for calling the BaseDistancesReductionDispatcher obj's underlying member method code with example usage: obj.compute(cls, X, Y) without return types