class_docstr: Constructs a TrOCR processor which wraps a vision image processor and a TrOCR tokenizer into a single processor.
  
  [`TrOCRProcessor`] offers all the functionalities of [`ViTImageProcessor`/`DeiTImageProcessor`] and
  [`RobertaTokenizer`/`XLMRobertaTokenizer`]. See the [`~TrOCRProcessor.__call__`] and [`~TrOCRProcessor.decode`] for
  more information.
  
  Args:
      image_processor ([`ViTImageProcessor`/`DeiTImageProcessor`], *optional*):
          An instance of [`ViTImageProcessor`/`DeiTImageProcessor`]. The image processor is a required input.
      tokenizer ([`RobertaTokenizer`/`XLMRobertaTokenizer`], *optional*):
          An instance of [`RobertaTokenizer`/`XLMRobertaTokenizer`]. The tokenizer is a required input.
docstr: This method forwards all its arguments to TrOCRTokenizer's [`~PreTrainedTokenizer.batch_decode`]. Please refer
  to the docstring of this method for more information.
code: def batch_decode(self, *args, **kwargs):
      """
      This method forwards all its arguments to TrOCRTokenizer's [`~PreTrainedTokenizer.batch_decode`]. Please refer
      to the docstring of this method for more information.
      """
      return self.tokenizer.batch_decode(*args, **kwargs)
  
file_path: transformers/src/transformers/models/trocr/processing_trocr.py
imports: import warnings
  from contextlib import contextmanager
  from ...processing_utils import ProcessorMixin
label_desc: Use image node_id 3 for calling the TrOCRProcessor obj's underlying member method code with example usage: obj.batch_decode() and returns: self