exp

dragon.vm.tensorflow.math.exp(
  x,
  name=None
)[source]

Compute the exponential of input.

\[\text{out} = \exp(\text{input}) \]

Examples:

x = tf.constant([1., 2., 3.])
print(tf.math.exp(x))  # [2.71828183, 7.3890561, 20.08553692]
Parameters:
  • x (dragon.Tensor) The input tensor.
  • name (str, optional) The operation name.
Returns:

dragon.Tensor The output tensor.