code: def GWmatrix(emb0):
      N = np.shape(emb0)[0]
      N2 = 0.5 * np.linalg.norm(emb0, axis=1).reshape(1, N)
      C2 = np.tile(N2.transpose(), (1, N)) + np.tile(N2, (N, 1))
      C2 -= np.dot(emb0, emb0.T)
      return C2
  
file_path: fastText/alignment/unsup_multialign.py
imports: import io, os, ot, argparse, random
  import numpy
  from utils import *
label_desc: Use image node_id 3 for calling a global function with example usage: GWmatrix(emb0) and returns: C2