class_docstr: RotatE model.
class_docstr_tok: ["RotatE","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,
          default_initializer=fluid.initializer.Uniform(
              low=-1.0 * self._entity_embedding_margin,
              high=1.0 * self._entity_embedding_margin,
          ),
      )
      relation_embedding = fluid.layers.create_parameter(
          shape=self._rel_shape,
          dtype="float32",
          name=self.rel_name,
          default_initializer=fluid.initializer.Uniform(
              low=-1.0 * self._relation_embedding_margin,
              high=1.0 * self._relation_embedding_margin,
          ),
      )
  
      return entity_embedding, relation_embedding
  
file_path: PGL/legacy/examples/pgl-ke/model/RotatE.py
imports: import paddle.fluid
  from .Model import Model
  from .utils import lookup_table
label_desc: Use image node_id 3 for calling the RotatE obj's underlying member method code with example usage: obj.creat_share_variables() and returns: entity_embedding,  relation_embedding