code: def orth_reverse_mat(self, rel_embeddings):
      rel_shape = rel_embeddings.shape
      if self.use_scale:
          rel_emb = rel_embeddings.reshape(
              [-1, self.num_elem, self.num_elem + 1]
          )
          rel_mat = rel_emb[:, :, : self.num_elem].transpose([0, 2, 1])
          rel_scale = self.reverse_scale(rel_emb[:, :, self.num_elem :])
          rel_embeddings = paddle.concat(
              [rel_mat, rel_scale], axis=-1
          ).reshape(rel_shape)
      else:
          rel_embeddings = rel_embeddings.reshape(
              [-1, self.num_elem, self.num_elem]
          )
          rel_embeddings = rel_embeddings.transpose([0, 2, 1]).reshape(
              rel_shape
          )
      return rel_embeddings
  
imports: import numpy
  import paddle
label_desc: Use image node_id 2 for calling the OrthOTE obj's underlying member method code with example usage: obj.orth_reverse_mat(rel_embeddings) and returns: rel_embeddings