code: def get_cudnn_dropout_states_core(thread_id):
      states_id = next(_dropout_states_count)
      seed = os.getenv("CHAINER_SEED")
      if seed is None:
          try:
              seed_str = binascii.hexlify(os.urandom(8))
              seed = numpy.uint64(int(seed_str, 16))
          except NotImplementedError:
              seed = numpy.uint64(time.clock() * 1000000)
      else:
          seed = numpy.uint64(seed)
  
      seed += numpy.uint64(states_id)
      return cudnn.DropoutStates(None, seed)
  
imports: import binascii
  import functools
  import itertools
  import os
  import threading
  import time
  import typing
  import warnings
  import numpy
  import six
  import chainer
  from chainer import _backend
  from chainer.backends import _cpu
  from chainer.backends import intel64
  from chainer.configuration import config
  from chainer import types
  import chainerx
label_desc: Use image node_id 24 for calling a global function with example usage: get_cudnn_dropout_states_core(thread_id) and returns: cudnn