code: def test_stateless_not_supported(self):
      optimizer = SGD(learning_rate=0.5)
      grads = [np.array([1.0, 6.0, 7.0, 2.0])]
      vars = [backend.Variable([1.0, 2.0, 3.0, 4.0])]
      optimizer.build(vars)
      with self.assertRaisesRegex(ValueError, "not supported"):
          optimizer.stateless_apply(optimizer.variables, grads, vars)
  
file_path: keras/keras/backend/tensorflow/optimizer_distribute_test.py
imports: import numpy
  import pytest
  import tensorflow
  from tensorflow.python.eager import context
  from keras import backend
  from keras import testing
  from keras.optimizers.sgd import SGD
label_desc: Use image node_id 8 for calling the OptimizerDistributeTest obj's underlying member method code with example usage: obj.test_stateless_not_supported() without return types