class_docstr: Constructs a Nougat processor which wraps a Nougat image processor and a Nougat tokenizer into a single processor.
  
  [`NougatProcessor`] offers all the functionalities of [`NougatImageProcessor`] and [`NougatTokenizerFast`]. See the
  [`~NougatProcessor.__call__`] and [`~NougatProcessor.decode`] for more information.
  
  Args:
      image_processor ([`NougatImageProcessor`]):
          An instance of [`NougatImageProcessor`]. The image processor is a required input.
      tokenizer ([`NougatTokenizerFast`]):
          An instance of [`NougatTokenizerFast`]. The tokenizer is a required input.
class_docstr_tok: ["Constructs","a","Nougat","processor","which","wraps","a","Nougat","image","processor","and","a","Nougat","tokenizer","into","a","single","processor",".","[","`","NougatProcessor","`","]","offers","all","the","functionalities","of","[","`","NougatImageProcessor","`","]","and","[","`","NougatTokenizerFast","`","]",".","See","the","[","`","~NougatProcessor.__call__","`","]","and","[","`","~NougatProcessor.decode","`","]","for","more","information",".","Args",":","image_processor","(","[","`","NougatImageProcessor","`","]",")",":","An","instance","of","[","`","NougatImageProcessor","`","]",".","The","image","processor","is","a","required","input",".","tokenizer","(","[","`","NougatTokenizerFast","`","]",")",":","An","instance","of","[","`","NougatTokenizerFast","`","]",".","The","tokenizer","is","a","required","input","."]
code: def __init__(self, image_processor, tokenizer):
      super().__init__(image_processor, tokenizer)
      self.current_processor = self.image_processor
  
file_path: transformers/src/transformers/models/nougat/processing_nougat.py
imports: from typing import Dict, List, Optional, Union
  from transformers.tokenization_utils_base import PreTokenizedInput, TextInput, TruncationStrategy
  from ...processing_utils import ProcessorMixin
  from ...utils import PaddingStrategy, TensorType
label_desc: Use image node_id 1 to create a new NougatProcessor object from inherited base classes: ProcessorMixin with example: obj = NougatProcessor(image_processor, tokenizer)