code: def __init__(self, frontend_addr):
      self.frontend_addr = frontend_addr
      self.context = zmq.Context(1)
      self.socket = self.context.socket(zmq.REQ)
      self.socket.connect(frontend_addr)
  
file_path: PaddleHub/paddlehub/serving/client.py
imports: import zmq
label_desc: Use image node_id 1 to create a new InferenceClient object from inherited base classes: object with example: obj = InferenceClient(frontend_addr)