Spec-Zone.ru › TensorFlow C++ 2.9

tensorflow::ops::Imag

#include <math_ops.h>

Возвращает мнимую часть комплексного числа.

Краткое описание

Принимая на вход тензор 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
Operation
output
::tensorflow::Output
Публичные функции
node() const
::tensorflow::Node *
operator::tensorflow::Input() const
operator::tensorflow::Output() const
Публичные статические функции
Tout(DataType x)
Attrs
Структуры
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
)

© 2022 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 4.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r2.9/api_docs/cc/class/tensorflow/ops/imag

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API