code: def get_positives(self, mat, a1_idx, p_idx, negative_dists=None):
      pos_func = self.get_mine_function(self.pos_strategy)
      return pos_func(
          mat, a1_idx, p_idx, self.allowed_pos_range, negative_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 3 for calling the BatchEasyHardMiner obj's underlying member method code with example usage: obj.get_positives(mat, a1_idx, p_idx, negative_dists) and returns: pos_func