code: def test_dropout_is_actually_random(self):
      mod = dropout.Dropout(rate=0.5)
      x = tf.ones([1000])
      tf.random.set_seed(1)
      y1 = mod(x, is_training=True)
      y2 = mod(x, is_training=True)
      self.assertNotAllClose(y1, y2)
  
file_path: sonnet/sonnet/src/dropout_test.py
imports: from absl.testing import parameterized
  import numpy
  from sonnet.src import dropout
  from sonnet.src import test_utils
  import tensorflow
label_desc: Use image node_id 3 for calling the DropoutTest obj's underlying member method code with example usage: obj.test_dropout_is_actually_random() without return types