class_docstr: Inference engine subclass to run inference with ctranslate2.
  
  Args:
      opt: inference options
class_docstr_tok: ["Inference","engine","subclass","to","run","inference","with","ctranslate2",".","Args",":","opt",":","inference","options"]
code: def _score(self, infer_iter):
      raise NotImplementedError(
          "The scoring with InferenceEngineCT2 is not implemented."
      )
  
imports: import json
  from onmt.constants import CorpusTask, DefaultTokens, ModelTask
  from onmt.inputters.dynamic_iterator import build_dynamic_dataset_iter
  from onmt.utils.distributed import ErrorHandler, spawned_infer
  from onmt.utils.logging import init_logger
  from onmt.transforms import get_transforms_cls, make_transforms, TransformPipe
label_desc: Use image node_id 4 for calling the InferenceEngineCT2 obj's underlying member method code with example usage: obj._score(infer_iter) without return types