class_docstr: The TransE Model.
docstr: Share variables for train and test programs.
docstr_tok: ["Share","variables","for","train","and","test","programs","."]
code: def creat_share_variables(self):
      """
      Share variables for train and test programs.
      """
      entity_embedding = fluid.layers.create_parameter(
          shape=self._ent_shape, dtype="float32", name=self.ent_name
      )
      relation_embedding = fluid.layers.create_parameter(
          shape=self._rel_shape, dtype="float32", name=self.rel_name
      )
      return entity_embedding, relation_embedding
  
file_path: PGL/legacy/examples/pgl-ke/model/TransE.py
imports: import paddle.fluid
  from .Model import Model
  from .utils import lookup_table
label_desc: Use image node_id 2 for calling the TransE obj's underlying member method code with example usage: obj.creat_share_variables() and returns: entity_embedding,  relation_embedding