code: def get_embeddings(
      self,
  ):
      self._embeddings = {}
      if self.order == "first":
          embeddings = self.embedding_dict["first"].get_weights()[0]
      elif self.order == "second":
          embeddings = self.embedding_dict["second"].get_weights()[0]
      else:
          embeddings = np.hstack(
              (
                  self.embedding_dict["first"].get_weights()[0],
                  self.embedding_dict["second"].get_weights()[0],
              )
          )
      idx2node = self.idx2node
      for i, embedding in enumerate(embeddings):
          self._embeddings[idx2node[i]] = embedding
  
      return self._embeddings
  
file_path: GraphEmbedding/ge/models/line.py
imports: import math
  import random
  import numpy
  from deepctr.layers.utils import reduce_sum
  from tensorflow.python.keras import backend
  from tensorflow.python.keras.layers import Embedding, Input, Lambda
  from tensorflow.python.keras.models import Model
  from ..alias import create_alias_table, alias_sample
  from ..utils import preprocess_nxgraph
label_desc: Use image node_id 6 for calling the LINE obj's underlying member method code with example usage: obj.get_embeddings() and returns: self