class_docstr: Constructs a ViLT processor which wraps a BERT tokenizer and ViLT feature extractor into a single processor.
  
  [`ViltProcessor`] offers all the functionalities of [`ViltFeatureExtractor`] and [`BertTokenizerFast`]. See the
  docstring of [`~ViltProcessor.__call__`] and [`~ViltProcessor.decode`] for more information.
  
  Args:
      feature_extractor (`ViltFeatureExtractor`):
          An instance of [`ViltFeatureExtractor`]. The feature extractor is a required input.
      tokenizer (`BertTokenizerFast`):
          An instance of ['BertTokenizerFast`]. The tokenizer is a required input.
code: def __init__(self, feature_extractor, tokenizer):
      super().__init__(feature_extractor, tokenizer)
      self.current_processor = self.feature_extractor
  
file_path: H2O/h2o_flexgen/benchmark/third_party/transformers/src/transformers/models/vilt/processing_vilt.py
imports: from typing import List, Optional, Union
  from ...processing_utils import ProcessorMixin
  from ...tokenization_utils_base import BatchEncoding, PaddingStrategy, PreTokenizedInput, TextInput, TruncationStrategy
  from ...utils import TensorType
label_desc: Use image node_id 1 to create a new ViltProcessor object from inherited base classes: ProcessorMixin with example: obj = ViltProcessor(feature_extractor, tokenizer)