code: def __init__(
      self, num, dim, sparse=None, weight_attr=None, name=None, **kwargs
  ):
      super(BaseEmbedding, self).__init__()
      self.embedding = nn.Embedding(
          num, dim, sparse=sparse, weight_attr=weight_attr, name=name
      )
  
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 1 to create a new BaseEmbedding object from inherited base classes: nn with example: obj = BaseEmbedding(num, dim, sparse, weight_attr, name)