class_docstr: A Base class that every transform method should derived from.
class_docstr_tok: ["A","Base","class","that","every","transform","method","should","derived","from","."]
code: def batch_apply_reverse(self, translated_batch, **kwargs):
      transformed_batch = []
      for translated in translated_batch:
          reversed = self.apply_reverse(translated, **kwargs)
          if isinstance(reversed, list):
              transformed_batch += reversed
          elif reversed is not None:
              transformed_batch.append(reversed)
      return transformed_batch
  
imports: import torch
  from onmt.utils.logging import logger
  from onmt.utils.misc import check_path
label_desc: Use image node_id 11 for calling the Transform obj's underlying member method code with example usage: obj.batch_apply_reverse(translated_batch) and returns: transformed_batch