exponential

dragon.vm.tensorflow.keras.activations.exponential(x)[source]

Apply the exponential activation to input.

The Exponential function is defined as:

\[\text{out} = e^{x} \]

Examples:

x = tf.constant([1, 2, 3], 'float32')
print(tf.keras.activations.exponential(x))
Parameters:
Returns:

dragon.Tensor – The output tensor.