code: def test_dropout_seed(self):
      # initialize Dropoutstates with the same seed
      states2 = cudnn.DropoutStates(None, self.seed)
  
      rspace, y = self.states.forward(None, self.x, self.ratio)
      rspace2, y2 = states2.forward(None, self.x, self.ratio)
      # forward results must be the same
      assert cupy.all(y == y2)
  
      gx = self.states.backward(None, self.gy, self.ratio, rspace)
      gx2 = states2.backward(None, self.gy, self.ratio, rspace2)
      # backward results must be the same
      assert cupy.all(gx == gx2)
  
imports: import sys
  import numpy
  import pytest
  import cupy
  import cupy.cuda.cudnn
  from cupy import testing
label_desc: Use image node_id 4 for calling the TestCudnnDropout obj's underlying member method code with example usage: obj.test_dropout_seed() without return types