code: def forward(self, x):
      x_emb = paddle.static.nn.sparse_embedding(
          x, [self.num, self.dim], param_attr=self.emb_attr
      )
  
      return x_emb
  
file_path: PGL/apps/Graph4Rec/env_run/src/models/embedding.py
imports: import math
  import time
  import paddle
  import paddle.nn
label_desc: Use image node_id 2 for calling the SparseEmbedding obj's underlying member method code with example usage: obj.forward(x) and returns: x_emb