class_docstr: Serving client based on `tfe.queue.FIFOQueue`.
  
  Must be set up with the same arguments as the server.
class_docstr_tok: ["Serving","client","based","on","`","tfe.queue.FIFOQueue","`",".","Must","be","set","up","with","the","same","arguments","as","the","server","."]
code: def __init__(
      self,
      input_shape,
      output_shape,
      input_queue_capacity=10,
      input_queue_name="input",
      output_queue_capacity=10,
      output_queue_name="output",
  ):
      self.input_shape = input_shape
      self.output_shape = output_shape
  
      # input
      self.input_queue = tfe.queue.FIFOQueue(
          capacity=input_queue_capacity,
          shape=input_shape,
          shared_name=input_queue_name,
      )
  
      # output
      self.output_queue = tfe.queue.FIFOQueue(
          capacity=output_queue_capacity,
          shape=output_shape,
          shared_name=output_queue_name,
      )
  
file_path: tf-encrypted/tf_encrypted/serving/queues.py
imports: import numpy
  import tensorflow
  import tf_encrypted
label_desc: Use image node_id 1 to create a new QueueClient object  with example: obj = QueueClient(input_shape, output_shape, input_queue_capacity, input_queue_name, output_queue_capacity, output_queue_name)