code: def testBooleanScatterUpdate(self):
      var = variables.Variable([True, False])
      update0 = state_ops.batch_scatter_update(var, [1], [True])
      update1 = state_ops.batch_scatter_update(
          var, constant_op.constant([0], dtype=dtypes.int64), [False]
      )
      self.evaluate(variables.variables_initializer([var]))
  
      self.evaluate([update0, update1])
  
      self.assertAllEqual([False, True], self.evaluate(var))
  
file_path: tensorflow/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 3 for calling the ScatterTest obj's underlying member method code with example usage: obj.testBooleanScatterUpdate() without return types