code: def mdot(x, y):
      """Compute the inner product."""
      m = x.new_ones(1, x.size(1))
      m[0, 0] = -1
      return torch.sum(m * x * y, 1, keepdim=True)
  
file_path: flair/flair/nn/distance/hyperbolic.py
imports: import torch
  from torch import Tensor, nn
label_desc: Use image node_id 2 for calling a global function with example usage: mdot(x, y) and returns: torch