テンソルフロー::作戦::角度

#include <math_ops.h>

複素数の引数を返します。

まとめ

複素数のテンソルinput指定すると、この演算は、 inputの各要素の引数であるfloat型のテンソルを返します。 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 

演算子::tensorflow::入力

 operator::tensorflow::Input() const 

演算子::tensorflow::出力

 operator::tensorflow::Output() const 

パブリック静的関数

客引き

Attrs Tout(
  DataType x
)

テンソルフロー::作戦::角度

#include <math_ops.h>

複素数の引数を返します。

まとめ

複素数のテンソルinput指定すると、この演算は、 inputの各要素の引数であるfloat型のテンソルを返します。 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 

演算子::tensorflow::入力

 operator::tensorflow::Input() const 

演算子::tensorflow::出力

 operator::tensorflow::Output() const 

パブリック静的関数

客引き

Attrs Tout(
  DataType x
)