tensorflow:: ops:: Complex

#include <math_ops.h>

2つの実数を複素数に変換します。

まとめ

複素数の実部を表すテンソルrealと、複素数の虚部を表すテンソルimag与えられた場合、この操作は次の形式の複素数を要素ごとに返します。 \(a + bj\)ここで、 aはreal部、 bはimag部を表す。

入力テンソルのrealとimagは同じ形状でなければなりません。

例えば:

# tensor 'real' is [2.25, 3.25]
# tensor `imag` is [4.75, 5.75]
tf.complex(real, imag) ==> [[2.25 + 4.75j], [3.25 + 5.75j]]

議論:

返品:

  • Output :出力テンソル。

コンストラクターとデストラクタ

Complex (const :: tensorflow::Scope & scope, :: tensorflow::Input real, :: tensorflow::Input imag)
Complex (const :: tensorflow::Scope & scope, :: tensorflow::Input real, :: tensorflow::Input imag, const Complex::Attrs & attrs)

公開属性

operation
out

公的機能

node () const
::tensorflow::Node *
operator::tensorflow::Input () const
operator::tensorflow::Output () const

パブリック静的関数

Tout (DataType x)

構造

tensorflow:: ops:: Complex:: Attrs

Complexのオプションの属性設定子。

公開属性

手術

Operation operation

外

::tensorflow::Output out

公的機能

複雑な

 Complex(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input real,
  ::tensorflow::Input imag
)

複雑な

 Complex(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input real,
  ::tensorflow::Input imag,
  const Complex::Attrs & attrs
)

ノード

::tensorflow::Node * node() const 

operator::tensorflow::Input

 operator::tensorflow::Input() const 

operator::tensorflow::Output

 operator::tensorflow::Output() const 

パブリック静的関数

トゥート

Attrs Tout(
  DataType x
)