tensorflow::ops::Imag
#include <math_ops.h>
Возвращает мнимую часть комплексного числа.
Summary
Учитывая тензор input комплексных чисел, данная операция возвращает тензор типа float, который представляет мнимую часть каждого элемента в input. Все элементы в input должны быть комплексными числами вида \(a + bj\), где a — действительная часть, а b — мнимая часть, возвращаемая этой операцией.
Например:
# tensor 'input' is [-2.25 + 4.75j, 3.25 + 5.75j] tf.imag(input) ==> [4.75, 5.75]
Аргументы:
- scope: Объект Scope
Возвращает:
-
Output: Результирующий тензор.
| Конструкторы и деструкторы | |
|---|---|
Imag(const ::tensorflow::Scope & scope, ::tensorflow::Input input) | |
Imag(const ::tensorflow::Scope & scope, ::tensorflow::Input input, const Imag::Attrs & attrs) |
| Общедоступные атрибуты | |
|---|---|
operation | |
output | |
| Общедоступные функции | |
|---|---|
node() const | ::tensorflow::Node * |
operator::tensorflow::Input() const | |
operator::tensorflow::Output() const | |
| Общедоступные статические функции | |
|---|---|
Tout(DataType x) | |
| Структуры | |
|---|---|
| tensorflow::ops::Imag::Attrs | Необязательные установщики атрибутов для Imag. |
Общедоступные атрибуты
operation
Operation operation
output
::tensorflow::Output output
Общедоступные функции
Imag
Imag( const ::tensorflow::Scope & scope, ::tensorflow::Input input )
Imag
Imag( const ::tensorflow::Scope & scope, ::tensorflow::Input input, const Imag::Attrs & attrs )
node
::tensorflow::Node * node() const
operator::tensorflow::Input
operator::tensorflow::Input() const
operator::tensorflow::Output
operator::tensorflow::Output() const
Общедоступные статические функции
Tout
Attrs Tout( DataType x )
© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r2.3/api_docs/cc/class/tensorflow/ops/imag