class_docstr: Setting the Embedding for the parameter server
  
  Args:
  
      slots: a list of int represents the slot key
  
      embedding_size: the output size of the embedding.
class_docstr_tok: ["Setting","the","Embedding","for","the","parameter","server","Args",":","slots",":","a","list","of","int","represents","the","slot","key","embedding_size",":","the","output","size","of","the","embedding","."]
code: def __init__(self, slots, embedding_size, slot_num_for_pull_feature):
      self.parameter_server = core.PSGPU()
      self.parameter_server.set_slot_num_for_pull_feature(
          slot_num_for_pull_feature
      )
      self.parameter_server.set_slot_vector(slots)
      self.parameter_server.init_gpu_ps(get_cuda_places())
      self.parameter_server.set_slot_dim_vector(
          [embedding_size] * len(slots)
      )
  
file_path: PGL/apps/PGLBox/src/embedding.py
imports: import paddle
  import paddle.fluid.core
  from pgl.utils.logger import log
  from place import get_cuda_places
label_desc: Use image node_id 1 to create a new DistEmbedding object from inherited base classes: object with example: obj = DistEmbedding(slots, embedding_size, slot_num_for_pull_feature)