code: def dropout(incoming, is_training, keep_prob=0.5):
      return tf.compat.v1.layers.dropout(
          incoming, rate=1 - keep_prob, training=is_training
      )
  
file_path: attention-ocr/aocr/model/cnn.py
imports: from __future__ import absolute_import
  import numpy
  import tensorflow
label_desc: Use image node_id 7 for calling a global function with example usage: dropout(incoming, is_training, keep_prob) and returns: tf