code: def eq_mask(inp, val):
      return tf.cast(tf.equal(inp, val), tf.float32)
  
file_path: deeplift/deeplift/layers/helper_functions.py
imports: import tensorflow
  from deeplift.util import NEAR_ZERO_THRESHOLD
label_desc: Use image node_id 5 for calling a global function with example usage: eq_mask(inp, val) and returns: tf