code: def get_negatives(self, mat, a2_idx, n_idx, positive_dists=None):
      neg_func = self.get_mine_function(
          self.EASY
          if self.neg_strategy in [self.HARD, self.SEMIHARD]
          else self.HARD
      )
      return neg_func(
          mat, a2_idx, n_idx, self.allowed_neg_range, positive_dists
      )
  
file_path: pytorch-metric-learning/src/pytorch_metric_learning/miners/batch_easy_hard_miner.py
imports: import torch
  from ..utils import common_functions
  from ..utils import loss_and_miner_utils
  from .base_miner import BaseMiner
label_desc: Use image node_id 4 for calling the BatchEasyHardMiner obj's underlying member method code with example usage: obj.get_negatives(mat, a2_idx, n_idx, positive_dists) and returns: neg_func