code: def _toggle_dropout(cell_params, mode):
      """Disables dropout during eval/inference mode"""
      cell_params = copy.deepcopy(cell_params)
      if mode != tf.contrib.learn.ModeKeys.TRAIN:
          cell_params["dropout_input_keep_prob"] = 1.0
          cell_params["dropout_output_keep_prob"] = 1.0
      return cell_params
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import copy
  import tensorflow
  from tensorflow.contrib.rnn.python.ops import rnn
  from seq2seq.encoders.encoder import Encoder, EncoderOutput
  from seq2seq.training import utils
label_desc: Use image node_id 3 for calling a global function with example usage: _toggle_dropout(cell_params, mode) and returns: cell_params