code: def test_spatial_dropout_3d(self):
      self.run_layer_test(
          layers.SpatialDropout3D,
          init_kwargs={"rate": 0.5},
          call_kwargs={"training": True},
          input_shape=(2, 3, 4, 4, 5),
      )
  
      self.run_layer_test(
          layers.SpatialDropout3D,
          init_kwargs={"rate": 0.5, "data_format": "channels_first"},
          call_kwargs={"training": True},
          input_shape=(2, 3, 4, 4, 5),
      )
  
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 3 for calling the SpatialDropoutTest obj's underlying member method code with example usage: obj.test_spatial_dropout_3d() without return types