• Computes exponential of the input tf.Tensor element-wise. e ^ x

    const x = tf.tensor1d([1, 2, -3]);

    x.exp().print(); // or tf.exp(x)

    Type Parameters

    Parameters

    Returns T

    Doc