テンソルフロー::作戦::複雑な
#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
演算子::tensorflow::入力
operator::tensorflow::Input() const
演算子::tensorflow::出力
operator::tensorflow::Output() const
パブリック静的関数
客引き
Attrs Tout( DataType x )