code: def get_dropout(**kwargs):
      """Wrapper over custom dropout. Fix problem of ``None`` shape for tf.keras.
      It is not possible to define FixedDropout class as global object,
      because we do not have modules for inheritance at first time.
  
      Issue:
          https://github.com/tensorflow/tensorflow/issues/30946
      """
      backend, layers, models, keras_utils = get_submodules_from_kwargs(
          kwargs
      )
  
      class FixedDropout(layers.Dropout):
          def _get_noise_shape(self, inputs):
              if self.noise_shape is None:
                  return self.noise_shape
  
              symbolic_shape = backend.shape(inputs)
              noise_shape = [
                  symbolic_shape[axis] if shape is None else shape
                  for axis, shape in enumerate(self.noise_shape)
              ]
              return tuple(noise_shape)
  
      return FixedDropout
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import os
  import math
  import string
  import collections
  from six.moves import xrange
  from keras_applications.imagenet_utils import _obtain_input_shape
  from keras_applications.imagenet_utils import preprocess_input
  from .None import get_submodules_from_kwargs
  from .weights import IMAGENET_WEIGHTS_PATH, IMAGENET_WEIGHTS_HASHES, NS_WEIGHTS_HASHES, NS_WEIGHTS_PATH
label_desc: Use image node_id 3 for calling a global function with example usage: get_dropout() and returns: FixedDropout, tuple, self