class_docstr: Base Graph Model
class_docstr_tok: ["Base","Graph","Model"]
docstr: siamese network
docstr_tok: ["siamese","network"]
code: def link_predictor(self, x, y):
      """siamese network"""
      feat = x * y
  
      feat = L.fc(feat, size=self.hidden_size, name="link_predictor_1")
      feat = L.relu(feat)
  
      feat = L.fc(feat, size=self.hidden_size, name="link_predictor_2")
      feat = L.relu(feat)
  
      self.logits = L.fc(
          feat, size=1, act="sigmoid", name="link_predictor_logits"
      )
  
file_path: PGL/ogb_examples/linkproppred/ogbl-ppa/model.py
imports: import os
  import re
  import time
  from random import random
  from functools import reduce, partial
  import numpy
  import multiprocessing
  import paddle
  import paddle.fluid
  import paddle.fluid.layers
  from pgl.graph_wrapper import GraphWrapper
  from pgl.layers.conv import gcn, gat
label_desc: Use image node_id 3 for calling the BaseGraph obj's underlying member method code with example usage: obj.link_predictor(x, y) without return types