code: def compute(self, x_arr, y_arr):
          '''
          Compute distance.
  
          Args:
              x_arr:      `np.ndarray` of vectors.
              y_arr:      `np.ndarray` of vectors.
  
          Retruns:
              `np.ndarray` of distances.
          '''
          return np.linalg.norm(x_arr - y_arr, axis=-1f compute(self, x_arr, y_arr):
          '''
          Compute distance.
  
          Args:
              x_arr:      `np.ndarray` of vectors.
              y_arr:      `np.ndarray` of vectors.
  
          Retruns:
              `np.ndarray` of distances.
          '''
          return np.linalg.norm(x_arr - y_arr, axis=-1)
docs: Compute distance.
  
          Args:
              x_arr:      `np.ndarray` of vectors.
              y_arr:      `np.ndarray` of vectors.
  
          Retruns:
              `np.ndarray` of distances.