This function computes the exponential of every element in the input tensor.
i.e. exp(x) or e^(x), where x is the input tensor.
e denotes Euler's number and is approximately equal to 2.718281.
Output is positive for any real input.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-04-26 UTC."],[],[],null,["# tf.raw_ops.Exp\n\nComputes exponential of x element-wise. \\\\(y = e\\^x\\\\).\n\n#### View aliases\n\n\n**Compat aliases for migration**\n\nSee\n[Migration guide](https://www.tensorflow.org/guide/migrate) for\nmore details.\n\n[`tf.compat.v1.raw_ops.Exp`](https://www.tensorflow.org/api_docs/python/tf/raw_ops/Exp)\n\n\u003cbr /\u003e\n\n tf.raw_ops.Exp(\n x, name=None\n )\n\nThis function computes the exponential of every element in the input tensor.\ni.e. `exp(x)` or `e^(x)`, where `x` is the input tensor.\n`e` denotes Euler's number and is approximately equal to 2.718281.\nOutput is positive for any real input. \n\n x = tf.constant(2.0)\n tf.math.exp(x) ==\u003e 7.389056\n\n x = tf.constant([2.0, 8.0])\n tf.math.exp(x) ==\u003e array([7.389056, 2980.958], dtype=float32)\n\nFor complex numbers, the exponential value is calculated as follows: \n\n e^(x+iy) = e^x * e^iy = e^x * (cos y + i sin y)\n\nLet's consider complex number 1+1j as an example.\ne\\^1 \\* (cos 1 + i sin 1) = 2.7182818284590 \\* (0.54030230586+0.8414709848j) \n\n x = tf.constant(1 + 1j)\n tf.math.exp(x) ==\u003e 1.4686939399158851+2.2873552871788423j\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Args ---- ||\n|--------|----------------------------------------------------------------------------------------------------------------------|\n| `x` | A `Tensor`. Must be one of the following types: `bfloat16`, `half`, `float32`, `float64`, `complex64`, `complex128`. |\n| `name` | A name for the operation (optional). |\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Returns ------- ||\n|---|---|\n| A `Tensor`. Has the same type as `x`. ||\n\n\u003cbr /\u003e"]]