code: def softmax_to_unary(sm, GT_PROB=1):
      
      warning("pydensecrf.softmax_to_unary is deprecated, use unary_from_softmax instead.")
      scale = None if GT_PROB == 1 else GT_PROB
      return unary_from_softmax(sm, scale, clip=None)
docs: Deprecated, use `unary_from_softmax` instead.