• Computes exponential linear element-wise: x > 0 ? x : (e ^ x) - 1.

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

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

    Type Parameters

    Parameters

    Returns T

    Doc

Generated using TypeDoc