code: def sg_min(tensor, opt):
      r
      return tf.reduce_min(tensor, axis=opt.axis, keep_dims=opt.keep_dims, name=opt.name)
docs: r"""Computes the minimum of elements across axis of a tensor.
  
      See `tf.reduce_min()` in tensorflow.
  
      Args:
        tensor: A `Tensor` (automatically given by chain).
        opt:
          axis : A tuple/list of integers or an integer. The axis to reduce.
          keep_dims: If true, retains reduced dimensions with length 1.
          name: If provided, replace current tensor's name.
  
      Returns:
        A `Tensor`.