class_docstr: This implement Message for graph.recv.
  
  Args:
  
      msg: A dictionary provided by send function.
  
      segment_ids: The id that the message belongs to.
class_docstr_tok: ["This","implement","Message","for","graph.recv",".","Args",":","msg",":","A","dictionary","provided","by","send","function",".","segment_ids",":","The","id","that","the","message","belongs","to","."]
code: def __init__(self, msg, segment_ids):
      self._segment_ids = segment_ids
      self._msg = msg
  
file_path: PGL/pgl/message.py
imports: import paddle
  import pgl.math
label_desc: Use image node_id 1 to create a new Message object from inherited base classes: object with example: obj = Message(msg, segment_ids)