Example #1
0
def exp(a):
    """Calculate the exponential of input.

    Parameters
    ----------
    a : Tensor
        The input tensor.

    Returns
    -------
    Tensor
        The exponential result.

    """
    return ops.Exp(a)
Example #2
0
def exp(x, name=None):
    """
    Computes exp of x element-wise.

      I.e., \\(y = exp(x)\\).

      Args:
        x: A `Tensor`.
        name: A name for the operation (optional).

      Returns:
        A `Tensor`. Has the same type as `x`.

    """

    return ops.Exp(x, name=name)
Example #3
0
def exp(x, name=None):

    return ops.Exp(x, name=name)