code: def filter_original_indices(self, name, idx):
      if name == "pos":
          self.a1 = self.a1[idx]
          self.p = self.p[idx]
      else:
          self.a2 = self.a2[idx]
          self.n = self.n[idx]
  
file_path: pytorch-metric-learning/src/pytorch_metric_learning/miners/hdc_miner.py
imports: import math
  import torch
  from ..utils import loss_and_miner_utils
  from .base_miner import BaseMiner
label_desc: Use image node_id 7 for calling the HDCMiner obj's underlying member method code with example usage: obj.filter_original_indices(name, idx) without return types