exponential¶
dragon.vm.tensorflow.keras.activations.
exponential
(x)[source]¶Apply the exponential activation to input.
The Exponential function is defined as:
\[\text{Exp}(x) = \exp(x) \]Examples:
x = tf.constant([1, 2, 3], 'float32') print(tf.keras.activations.exponential(x))
- Parameters:
- x (dragon.Tensor) – The input tensor.
- Returns:
dragon.Tensor – The output tensor.