`RunInference` uses a Beam's built-in transform `BatchElements`, which batches elements (it means that it consumes a PCollection of `tf.train.Example` and produces a PCollection of `List[tf.train.Example]`). Thanks to that, multiple input items could be sent using a single HTTP request.