code: def testVariableRankUpdate(self):
      vtypes = [np.float32, np.float64]
      for vtype in vtypes:
          for itype in (np.int32, np.int64):
              self._VariableRankTest(
                  state_ops.batch_scatter_update, vtype, itype
              )
  
file_path: tensorflow-upstream/tensorflow/python/kernel_tests/array_ops/batch_scatter_ops_test.py
imports: import numpy
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import indexed_slices
  from tensorflow.python.ops import state_ops
  from tensorflow.python.ops import variables
  from tensorflow.python.platform import test
label_desc: Use image node_id 2 for calling the ScatterTest obj's underlying member method code with example usage: obj.testVariableRankUpdate() without return types