code: def vote(self, sample: Sample) -> Sample:
      inputs, outputs, meta = sample.inputs, sample.outputs, sample.meta
      prediction_results = self._convert_sample_to_prediction_results(
          sample
      )
  
      # vote the results (if only one model is given, this will just return the sentences)
      prediction = self.voter.vote_prediction_result(prediction_results)
      prediction.id = "voted"
  
      return Sample(
          inputs=inputs, outputs=(outputs, prediction), meta=meta
      )
  
file_path: calamari/calamari_ocr/ocr/voting/adapter.py
imports: from typing import List
  from tfaip.data.pipeline.definitions import Sample
  from tfaip.predict.multimodelvoter import MultiModelVoter
  from calamari_ocr.ocr.predict.params import PredictionResult
  from calamari_ocr.ocr.voting import voter_from_params
  from calamari_ocr.utils.output_to_input_transformer import OutputToInputTransformer
label_desc: Use image node_id 3 for calling the CalamariMultiModelVoter obj's underlying member method code with example usage: obj.vote(sample) and returns: Sample