code: def test_spatial_dropout_1D_correctness(self):
      inputs = np.ones((10, 3, 10))
      layer = layers.SpatialDropout1D(0.5)
      outputs = layer(inputs, training=True)
      self.assertAllClose(outputs[:, 0, :], outputs[:, 1, :])
  
file_path: keras/keras/layers/regularization/spatial_dropout_test.py
imports: import numpy
  import pytest
  from keras import backend
  from keras import layers
  from keras.testing import test_case
label_desc: Use image node_id 5 for calling the SpatialDropoutTest obj's underlying member method code with example usage: obj.test_spatial_dropout_1D_correctness() without return types