code: def positive_advs(advs, eps, name="positive_adv"):
      """Make all the values in the advs tensor positive.
  
      Offsets all values in advs by the minimum value in
      the tensor, plus an epsilon value to avoid dividing by zero.
  
      Args:
          advs (tf.Tensor): The tensor to offset.
          eps (tf.float32): A small value to avoid by-zero division.
          name (string): Name of the operation.
  
      Returns:
          tf.Tensor: Tensor with modified (postiive) values.
      """
      with tf.name_scope(name):
          m = tf.reduce_min(advs)
          advs = (advs - m) + eps
  
      return advs
  
imports: import collections
  import numpy
  import tensorflow
label_desc: Use image node_id 21 for calling a global function with example usage: positive_advs(advs, eps, name) and returns: advs