tensorflow :: ops ::角度
#include <math_ops.h>
複素数の引数を返します。
概要
複素数のテンソルinput
が与えられると、この操作はinput
の各要素の引数であるfloat
型のテンソルを返しinput
。 input
すべての要素は、\(a + bj\)の形式の複素数である必要があります。ここで、 aは実数部、 bは虚数部です。
この操作によって返される引数は、\(atan2(b, a)\)の形式です。
例えば:
# tensor 'input' is [-2.25 + 4.75j, 3.25 + 5.75j] tf.angle(input) ==> [2.0132, 1.056]
(numpy)np.angleと同等です。
引数:
- スコープ:スコープオブジェクト
戻り値:
-
Output
:出力テンソル。
コンストラクタとデストラクタ | |
---|---|
Angle (const :: tensorflow::Scope & scope, :: tensorflow::Input input) | |
Angle (const :: tensorflow::Scope & scope, :: tensorflow::Input input, const Angle::Attrs & attrs) |
パブリック属性 | |
---|---|
operation | |
output |
公の行事 | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
パブリック静的関数 | |
---|---|
Tout (DataType x) |
構造体 | |
---|---|
tensorflow :: ops :: Angle :: Attrs | Angleのオプションの属性セッター。 |
パブリック属性
操作
Operation operation
出力
::tensorflow::Output output
公の行事
角度
Angle( const ::tensorflow::Scope & scope, ::tensorflow::Input input )
角度
Angle( const ::tensorflow::Scope & scope, ::tensorflow::Input input, const Angle::Attrs & attrs )
ノード
::tensorflow::Node * node() const
operator :: tensorflow :: Input
operator::tensorflow::Input() const
operator :: tensorflow :: Output
operator::tensorflow::Output() const
パブリック静的関数
タウト
Attrs Tout( DataType x )