tensorflow:: ops:: Sin
#include <math_ops.h>xの正弦を要素ごとに計算します。
まとめ
入力テンソルが与えられると、この関数はテンソルの各要素の正弦を計算します。入力範囲は(-inf, inf) 、出力範囲は[-1,1]です。
x = tf.constant([-float("inf"), -9, -0.5, 1, 1.2, 200, 10, float("inf")]) tf.math.sin(x) ==> [nan -0.4121185 -0.47942555 0.84147096 0.9320391 -0.87329733 -0.54402107 nan]
議論:
- スコープ:スコープオブジェクト
返品:
-
Output:yテンソル。
コンストラクターとデストラクタ | |
|---|---|
Sin (const :: tensorflow::Scope & scope, :: tensorflow::Input x) |
公開属性 | |
|---|---|
operation | |
y | |
公的機能 | |
|---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const | |
公開属性
手術
Operation operation
y
::tensorflow::Output y
公的機能
罪
Sin( const ::tensorflow::Scope & scope, ::tensorflow::Input x )
ノード
::tensorflow::Node * node() const
operator::tensorflow::Input
operator::tensorflow::Input() const
operator::tensorflow::Output
operator::tensorflow::Output() const