code: def __init__(self, graph, dim, lamb=0.2):
      self.g = graph
      self.lamb = lamb
      self.dim = int(dim / 2)
      self.train()
  
file_path: OpenNE/src/openne/tadw.py
imports: from __future__ import print_function
  import math
  import numpy
  from numpy import linalg
  from sklearn.preprocessing import normalize
  from .gcn.utils import *
label_desc: Use image node_id 1 to create a new TADW object from inherited base classes: object with example: obj = TADW(graph, dim, lamb)