Stay organized with collections
Save and categorize content based on your preferences.
tensorflow::
ops::
Conj
#include <math_ops.h>
Returns the complex conjugate of a complex number.
Summary
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 \(a + bj\), where
a
is the real part and
b
is the imaginary part.
The complex conjugate returned by this operation is of the form \(a - bj\).
For example:
# tensor 'input' is [-2.25 + 4.75j, 3.25 + 5.75j]
tf.conj(input) ==> [-2.25 - 4.75j, 3.25 - 5.75j]
Args:
Returns:
Public attributes
Public functions
node
::tensorflow::Node * node() const
operator::tensorflow::Input() const
operator::tensorflow::Output
operator::tensorflow::Output() const
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates. Some content is licensed under the numpy license.
Last updated 2021-05-14 UTC.
[null,null,["Last updated 2021-05-14 UTC."],[],[],null,["# tensorflow::ops::Conj Class Reference\n\ntensorflow::\nops::\nConj\n=======================\n\n`\n#include \u003cmath_ops.h\u003e\n`\n\n\nReturns the complex conjugate of a complex number.\n\nSummary\n-------\n\n\nGiven a tensor\n`\ninput\n`\nof complex numbers, this operation returns a tensor of complex numbers that are the complex conjugate of each element in\n`\ninput\n`\n. The complex numbers in\n`\ninput\n`\nmust be of the form \\\\(a + bj\\\\), where\n*a*\nis the real part and\n*b*\nis the imaginary part.\n\n\nThe complex conjugate returned by this operation is of the form \\\\(a - bj\\\\).\n\n\nFor example:\n\n\n```text\n# tensor 'input' is [-2.25 + 4.75j, 3.25 + 5.75j]\ntf.conj(input) ==\u003e [-2.25 - 4.75j, 3.25 - 5.75j]\n```\n\n\u003cbr /\u003e\n\n\nArgs:\n\n- scope: A [Scope](/versions/r2.5/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope) object\n\n\u003cbr /\u003e\n\n\nReturns:\n\n- `\n `[Output](/versions/r2.5/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output)`\n ` : The output tensor.\n\n\u003cbr /\u003e\n\n| ### Constructors and Destructors ||\n|---|---|\n| ` `[Conj](#classtensorflow_1_1ops_1_1_conj_1a8f7233511e2a1a69f87257562f793389)` (const :: `[tensorflow::Scope](/versions/r2.5/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope)` & scope, :: `[tensorflow::Input](/versions/r2.5/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` input) ` ||\n\n| ### Public attributes ||\n|----------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------|\n| ` `[operation](#classtensorflow_1_1ops_1_1_conj_1a5fefdf385bc3d436389114cdc0a9f9ba)` ` | ` `[Operation](/versions/r2.5/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation)` ` |\n| ` `[output](#classtensorflow_1_1ops_1_1_conj_1aea384c3c77a5918f2d31b72ad64a155a)` ` | ` :: `[tensorflow::Output](/versions/r2.5/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output)` ` |\n\n| ### Public functions ||\n|--------------------------------------------------------------------------------------------------------------------|--------------------------|\n| ` `[node](#classtensorflow_1_1ops_1_1_conj_1ac0a0d5db60f5731bf0fd10e22a70590c)` () const ` | ` ::tensorflow::Node * ` |\n| ` `[operator::tensorflow::Input](#classtensorflow_1_1ops_1_1_conj_1a66307fa4c196df6a9506388209ade118)` () const ` | ` ` |\n| ` `[operator::tensorflow::Output](#classtensorflow_1_1ops_1_1_conj_1a6e6e95ae739308bad32d899ec224f213)` () const ` | ` ` |\n\nPublic attributes\n-----------------\n\n### operation\n\n```text\nOperation operation\n``` \n\n### output\n\n```text\n::tensorflow::Output output\n``` \n\nPublic functions\n----------------\n\n### Conj\n\n```gdscript\n Conj(\n const ::tensorflow::Scope & scope,\n ::tensorflow::Input input\n)\n``` \n\n### node\n\n```gdscript\n::tensorflow::Node * node() const \n``` \n\n### operator::tensorflow::Input\n\n```gdscript\n operator::tensorflow::Input() const \n``` \n\n### operator::tensorflow::Output\n\n```gdscript\n operator::tensorflow::Output() const \n```"]]