code: def _getReshapedRetrieval(
      self, retrievedPosIndexes, retrievedNegIndexes=None
  ):
      if not retrievedNegIndexes is None:
          reshapedRetrieval = np.concatenate(
              [
                  retrievedPosIndexes.reshape(-1),
                  retrievedNegIndexes.reshape(-1),
              ]
          )
      else:
          reshapedRetrieval = retrievedPosIndexes.reshape(-1)
      return reshapedRetrieval
  
imports: import numpy
  import cupy
  import torch
  import os
  from torch.utils.dlpack import to_dlpack
  from torch.utils.dlpack import from_dlpack
label_desc: Use image node_id 5 for calling the _Common obj's underlying member method code with example usage: obj._getReshapedRetrieval(retrievedPosIndexes, retrievedNegIndexes) and returns: reshapedRetrieval