class_docstr: Constructs a MCTCT processor which wraps a MCTCT feature extractor and a MCTCT tokenizer into a single processor.
  
  [`MCTCTProcessor`] offers all the functionalities of [`MCTCTFeatureExtractor`] and [`AutoTokenizer`]. See the
  [`~MCTCTProcessor.__call__`] and [`~MCTCTProcessor.decode`] for more information.
  
  Args:
      feature_extractor (`MCTCTFeatureExtractor`):
          An instance of [`MCTCTFeatureExtractor`]. The feature extractor is a required input.
      tokenizer (`AutoTokenizer`):
          An instance of [`AutoTokenizer`]. The tokenizer is a required input.
class_docstr_tok: ["Constructs","a","MCTCT","processor","which","wraps","a","MCTCT","feature","extractor","and","a","MCTCT","tokenizer","into","a","single","processor",".","[","`","MCTCTProcessor","`","]","offers","all","the","functionalities","of","[","`","MCTCTFeatureExtractor","`","]","and","[","`","AutoTokenizer","`","]",".","See","the","[","`","~MCTCTProcessor.__call__","`","]","and","[","`","~MCTCTProcessor.decode","`","]","for","more","information",".","Args",":","feature_extractor","(","`","MCTCTFeatureExtractor","`",")",":","An","instance","of","[","`","MCTCTFeatureExtractor","`","]",".","The","feature","extractor","is","a","required","input",".","tokenizer","(","`","AutoTokenizer","`",")",":","An","instance","of","[","`","AutoTokenizer","`","]",".","The","tokenizer","is","a","required","input","."]
code: def __init__(self, feature_extractor, tokenizer):
      super().__init__(feature_extractor, tokenizer)
      self.current_processor = self.feature_extractor
      self._in_target_context_manager = False
  
file_path: H2O/h2o_flexgen/benchmark/third_party/transformers/src/transformers/models/mctct/processing_mctct.py
imports: import warnings
  from contextlib import contextmanager
  from ...processing_utils import ProcessorMixin
label_desc: Use image node_id 1 to create a new MCTCTProcessor object from inherited base classes: ProcessorMixin with example: obj = MCTCTProcessor(feature_extractor, tokenizer)