class_docstr: Constructs a Fuyu processor which wraps a Fuyu image processor and a Llama tokenizer into a single processor.
  
  [`FuyuProcessor`] offers all the functionalities of [`FuyuImageProcessor`] and [`LlamaTokenizerFast`]. See the
  [`~FuyuProcessor.__call__`] and [`~FuyuProcessor.decode`] for more information.
  
  Args:
      image_processor ([`FuyuImageProcessor`]):
          The image processor is a required input.
      tokenizer ([`LlamaTokenizerFast`]):
          The tokenizer is a required input.
class_docstr_tok: ["Constructs","a","Fuyu","processor","which","wraps","a","Fuyu","image","processor","and","a","Llama","tokenizer","into","a","single","processor",".","[","`","FuyuProcessor","`","]","offers","all","the","functionalities","of","[","`","FuyuImageProcessor","`","]","and","[","`","LlamaTokenizerFast","`","]",".","See","the","[","`","~FuyuProcessor.__call__","`","]","and","[","`","~FuyuProcessor.decode","`","]","for","more","information",".","Args",":","image_processor","(","[","`","FuyuImageProcessor","`","]",")",":","The","image","processor","is","a","required","input",".","tokenizer","(","[","`","LlamaTokenizerFast","`","]",")",":","The","tokenizer","is","a","required","input","."]
code: def __init__(self, image_processor, tokenizer):
      super().__init__(
          image_processor=image_processor, tokenizer=tokenizer
      )
      self.image_processor = image_processor
      self.tokenizer = tokenizer
      self.max_tokens_to_generate = 10
      self.max_position_embeddings = 16384  # TODO Can't derive this from model files: where to set it?
      self.pad_token_id = 0
      self.dummy_image_index = -1
  
imports: import re
  from typing import Dict, List, Optional, Tuple, Union
  import numpy
  from ...processing_utils import ProcessorMixin
  from ...tokenization_utils_base import PaddingStrategy, TruncationStrategy
  from ...utils import TensorType, is_torch_available, logging, requires_backends
label_desc: Use image node_id 1 to create a new FuyuProcessor object from inherited base classes: ProcessorMixin with example: obj = FuyuProcessor(image_processor, tokenizer)