class_docstr: Base model.
docstr: This function should construct test (or evaluate) program with the 'self.test_input'.
  Util now, we only support a triple the evaluate the ranks.
  :return: the distance of all entity with the test triple (for both head and tail entity).
docstr_tok: ["This","function","should","construct","test","(","or","evaluate",")","program","with","the","'self.test_input","'",".","Util","now",",","we","only","support","a","triple","the","evaluate","the","ranks",".",":","return",":","the","distance","of","all","entity","with","the","test","triple","(","for","both","head","and","tail","entity",")","."]
code: def construct_test_program(self):
      """
      This function should construct test (or evaluate) program with the 'self.test_input'.
      Util now, we only support a triple the evaluate the ranks.
      :return: the distance of all entity with the test triple (for both head and tail entity).
      """
      raise NotImplementedError(
          "You should define the construct_test_program"
          " function before use it"
      )
  
file_path: PGL/legacy/examples/pgl-ke/model/Model.py
imports: from paddle import fluid
label_desc: Use image node_id 5 for calling the Model obj's underlying member method code with example usage: obj.construct_test_program() without return types