tensorflow:: ops:: Imag
#include <math_ops.h>複素数の虚数部を返します。
まとめ
複素数のテンソルinputが与えられると、この操作はinputの各要素の虚数部であるfloat型のテンソルを返します。 inputのすべての要素は、次の形式の複素数である必要があります。 \(a + bj\)ここで、 aはこの演算によって返される実数部、 bは虚数部である。
例えば:
# tensor 'input' is [-2.25 + 4.75j, 3.25 + 5.75j] tf.imag(input) ==> [4.75, 5.75]
議論:
- スコープ:スコープオブジェクト
返品:
-
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
出力
::tensorflow::Output output
公的機能
画像
Imag( const ::tensorflow::Scope & scope, ::tensorflow::Input input )
画像
Imag( const ::tensorflow::Scope & scope, ::tensorflow::Input input, const Imag::Attrs & attrs )
ノード
::tensorflow::Node * node() const
operator::tensorflow::Input
operator::tensorflow::Input() const
operator::tensorflow::Output
operator::tensorflow::Output() const
パブリック静的関数
トゥート
Attrs Tout( DataType x )