code: def testDeterminismExceptionThrowing(self):
      v = ref_variable.RefVariable(np.array([1.0, 2.0, 3.0]))
      indices = np.array([0, 0, 0])
      updates = np.array([-3, -4, -5]).astype(np.float32)
      with test_util.deterministic_ops():
          with self.assertRaisesRegex(
              errors.UnimplementedError,
              "Determinism is not yet supported in GPU implementation of Scatter "
              "ops",
          ):
              self.evaluate(
                  state_ops.scatter_update(v, indices, updates)
              )
  
imports: import numpy
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import errors
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import ref_variable
  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 32 for calling the ScatterTest obj's underlying member method code with example usage: obj.testDeterminismExceptionThrowing() without return types