docstr: Test wrapper function that creates an interpreter with the delegate.
docstr_tok: ["Test","wrapper","function","that","creates","an","interpreter","with","the","delegate","."]
code: def _TestInterpreter(self, model_path, options=None):
      """Test wrapper function that creates an interpreter with the delegate."""
      delegate = interpreter_wrapper.load_delegate(
          self._delegate_file, options
      )
      return interpreter_wrapper.Interpreter(
          model_path=model_path, experimental_delegates=[delegate]
      )
  
imports: import ctypes
  import io
  import sys
  from unittest import mock
  import numpy
  import tensorflow
  from tensorflow.lite.python import interpreter
  from tensorflow.lite.python.metrics import metrics
  from tensorflow.lite.python.testdata import _pywrap_test_registerer
  from tensorflow.python.framework import test_util
  from tensorflow.python.platform import resource_loader
  from tensorflow.python.platform import test
label_desc: Use image node_id 2 for calling the InterpreterDelegateTest obj's underlying member method code with example usage: obj._TestInterpreter(model_path, options) and returns: interpreter_wrapper