tensorflow:: ops:: Mod
#include <math_ops.h>除算の要素ごとの剰余を返します。
まとめ
これは、C言語のセマンティクスを模倣しています。
ここでの結果は切り捨て除算と一致しています。例: tf.truncatediv(x, y) * y + truncate_mod(x, y) = x 。
注: Modブロードキャストに対応しています。ブロードキャストの詳細はこちらをご覧ください。
議論:
- スコープ:スコープオブジェクト
返品:
-
Output:zテンソル。
構築者と破壊者 | |
|---|---|
Mod (const :: tensorflow::Scope & scope, :: tensorflow::Input x, :: tensorflow::Input y) |
公開属性 | |
|---|---|
operation | |
z | |
公的機能 | |
|---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const | |
公開属性
手術
Operation operation
z
::tensorflow::Output z
公的機能
モッド
Mod( const ::tensorflow::Scope & scope, ::tensorflow::Input x, ::tensorflow::Input y )
ノード
::tensorflow::Node * node() const
operator::tensorflow::Input
operator::tensorflow::Input() const
operator::tensorflow::Output
operator::tensorflow::Output() const