import torch


def positive_exponential(epsilon=0.0):
    """Transform: R --> R+

    Element-wise map of input_ input to positive real axis

    Args:
        epsilon (float): Small positive offset for numerical stability
    """
    return lambda input_: torch.exp(input_) + epsilon