code: def testVarHandleOp(self):
      x = constant_op.constant([[1.0, 2.0], [3.0, 4.0], [5.0, 6.0]])
  
      # Note: we purposely make multiple calls to VarHandleOp to exercise the
      # cached kernal lookup path that was exhibiting the VarHandleOp import
      # issue.
      unused_ = gen_resource_variable_ops.VarHandleOp(
          dtype=dtypes.float32, shape=[3, 2]
      )
      handle = gen_resource_variable_ops.VarHandleOp(
          dtype=dtypes.float32, shape=[3, 2]
      )
      gen_resource_variable_ops.AssignVariableOp(
          resource=handle, value=x
      )
      self.assertAllEqual(
          x,
          gen_resource_variable_ops.ReadVariableOp(
              resource=handle, dtype=dtypes.float32
          ),
      )
  
file_path: tensorflow/tensorflow/compiler/mlir/tfr/integration/node_expansion_test.py
imports: import os
  from tensorflow.compiler.mlir.tfr.resources import gen_composite_ops
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import load_library
  from tensorflow.python.framework import ops
  from tensorflow.python.ops import gen_resource_variable_ops
  from tensorflow.python.ops import nn_ops
  from tensorflow.python.platform import test
label_desc: Use image node_id 5 for calling the NodeExpansionTest obj's underlying member method code with example usage: obj.testVarHandleOp() without return types