docstr: Check that tensor returns a reference.
docstr_tok: ["Check","that","tensor","returns","a","reference","."]
code: def testTensorAccessor(self):
      """Check that tensor returns a reference."""
      array_ref = self.interpreter.tensor(self.input0)
      np.copyto(array_ref(), self.initial_data)
      self.assertAllEqual(array_ref(), self.initial_data)
      self.assertAllEqual(
          self.interpreter.get_tensor(self.input0), self.initial_data
      )
  
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 InterpreterTensorAccessorTest obj's underlying member method code with example usage: obj.testTensorAccessor() without return types