docstr: Process the output of a batch.
docstr_tok: ["Process","the","output","of","a","batch","."]
code: def _output_process(self, finished_reqs: List[Req]):
      """
      Process the output of a batch.
      """
      outputs = []
      for req in finished_reqs:
          output = self.tokenizer.decode(req.output_ids)
          outputs.append(
              RequestOutput(
                  req.request_id, req.prompts, req.prompt_ids, output
              )
          )
      return outputs
  
file_path: ColossalAI/colossalai/legacy/inference/async_manager.py
imports: from typing import List
  from .dynamic_batching.io_struct import Batch, Req, RequestOutput
  from .manager import DynamicBatchManager
  from .tensor_parallel import TPInferEngine
label_desc: Use image node_id 6 for calling the Async_DynamicBatchManager obj's underlying member method code with example usage: obj._output_process(finished_reqs) and returns: outputs