code: def _dropout_lstm_cell(hparams, train):
      return tf.nn.rnn_cell.DropoutWrapper(
          tf.nn.rnn_cell.LSTMCell(hparams.hidden_size),
          input_keep_prob=1.0 - hparams.dropout * tf.to_float(train),
      )
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import copy
  from tensor2tensor.layers import area_attention
  from tensor2tensor.layers import common_hparams
  from tensor2tensor.layers import common_layers
  from tensor2tensor.utils import contrib
  from tensor2tensor.utils import registry
  from tensor2tensor.utils import t2t_model
  import tensorflow.compat.v1
  from tensorflow.compat.v1 import estimator
label_desc: Use image node_id 1 for calling a global function with example usage: _dropout_lstm_cell(hparams, train) and returns: tf