class_docstr: Constructs a Donut processor which wraps a Donut feature extractor and an XLMRoBERTa tokenizer into a single
  processor.
  
  [`DonutProcessor`] offers all the functionalities of [`DonutFeatureExtractor`] and
  [`XLMRobertaTokenizer`/`XLMRobertaTokenizerFast`]. See the [`~DonutProcessor.__call__`] and
  [`~DonutProcessor.decode`] for more information.
  
  Args:
      feature_extractor ([`DonutFeatureExtractor`]):
          An instance of [`DonutFeatureExtractor`]. The feature extractor is a required input.
      tokenizer ([`XLMRobertaTokenizer`/`XLMRobertaTokenizerFast`]):
          An instance of [`XLMRobertaTokenizer`/`XLMRobertaTokenizerFast`]. The tokenizer is a required input.
docstr: This method forwards all its arguments to DonutTokenizer's [`~PreTrainedTokenizer.decode`]. Please refer to the
  docstring of this method for more information.
code: def decode(self, *args, **kwargs):
      """
      This method forwards all its arguments to DonutTokenizer's [`~PreTrainedTokenizer.decode`]. Please refer to the
      docstring of this method for more information.
      """
      return self.tokenizer.decode(*args, **kwargs)
  
file_path: H2O/h2o_flexgen/benchmark/third_party/transformers/src/transformers/models/donut/processing_donut.py
imports: import re
  import warnings
  from contextlib import contextmanager
  from ...processing_utils import ProcessorMixin
label_desc: Use image node_id 4 for calling the DonutProcessor obj's underlying member method code with example usage: obj.decode() and returns: self