Given a tensor input of complex numbers, this operation returns a tensor of
complex numbers that are the complex conjugate of each element in input. The
complex numbers in input must be of the form , where a is the
real part and b is the imaginary part.
The complex conjugate returned by this operation is of the form .
[[["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 2020-10-01 UTC."],[],[],null,["# tf.math.conj\n\n|----------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------|\n| [TensorFlow 1 version](/versions/r1.15/api_docs/python/tf/math/conj) | [View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v2.1.0/tensorflow/python/ops/math_ops.py#L3446-L3488) |\n\nReturns the complex conjugate of a complex number.\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.conj`](/api_docs/python/tf/math/conj), [`tf.compat.v1.math.conj`](/api_docs/python/tf/math/conj)\n\n\u003cbr /\u003e\n\n tf.math.conj(\n x, name=None\n )\n\nGiven a tensor `input` of complex numbers, this operation returns a tensor of\ncomplex numbers that are the complex conjugate of each element in `input`. The\ncomplex numbers in `input` must be of the form \\\\(a + bj\\\\), where *a* is the\nreal part and *b* is the imaginary part.\n\nThe complex conjugate returned by this operation is of the form \\\\(a - bj\\\\).\n\n#### For example:\n\ntensor 'input' is \\[-2.25 + 4.75j, 3.25 + 5.75j\\]\n=================================================\n\ntf.math.conj(input) ==\\\u003e \\[-2.25 - 4.75j, 3.25 - 5.75j\\]\n\nIf `x` is real, it is returned unchanged.\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Args ---- ||\n|--------|-----------------------------------------------------------|\n| `x` | `Tensor` to conjugate. Must have numeric or variant type. |\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` that is the conjugate of `x` (with the same type). ||\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Raises ------ ||\n|-------------|---------------------------------|\n| `TypeError` | If `x` is not a numeric tensor. |\n\n\u003cbr /\u003e"]]