code: def _quantize_dorefa(x, k):
      G = tf.compat.v1.get_default_graph()
      n = float(2**k - 1)
      with G.gradient_override_map({"Round": "Identity"}):
          return tf.round(x * n) / n
  
imports: import numpy
  import tensorflow
  from tensorflow.python.ops.rnn_cell import LSTMStateTuple
  import tensorlayer
  from tensorlayer import logging
  from tensorlayer.decorators import deprecated, deprecated_alias
label_desc: Use image node_id 21 for calling a global function with example usage: _quantize_dorefa(x, k) and returns: unknown