code: def pairwise_distance(self, query_emb, ref_emb):
      return torch.sum(query_emb * ref_emb, dim=1)
  
imports: import torch
  from .base_distance import BaseDistance
label_desc: Use image node_id 3 for calling the DotProductSimilarity obj's underlying member method code with example usage: obj.pairwise_distance(query_emb, ref_emb) and returns: torch