def METHOD_NAME(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.Xavier())
    relation_embedding = fluid.layers.create_parameter(
        shape=self._rel_shape,
        dtype="float32",
        name=self.rel_name,
        default_initializer=fluid.initializer.Xavier())
    init_values = np.tile(
        np.identity(
            self._hidden_size, dtype="float32").reshape(-1),
        (self._relation_total, 1))
    transfer_matrix = fluid.layers.create_parameter(
        shape=[
            self._relation_total, self._hidden_size * self._hidden_size
        ],
        dtype="float32",
        name=self._prefix + "transfer_matrix",
        default_initializer=fluid.initializer.NumpyArrayInitializer(
            init_values))
    return entity_embedding, relation_embedding, transfer_matrix