tensorflow:: ops:: SparseSegmentSqrtN
#include <math_ops.h>テンソルの疎なセグメントに沿った合計をNの平方根で割った値を計算します。
まとめ
Nは縮小されるセグメントのサイズです。
使用例については、 tf.sparse.segment_sum参照してください。
議論:
- スコープ:スコープオブジェクト
- indices: 1次元テンソル。segment_ids
segment_ids同じランクを持ちます。 - segment_ids: 1次元テンソル。値はソートされている必要があり、重複しても構いません。
返品:
-
Output:次元0を除いてデータと同じ形状で、次元0のサイズはセグメント数kです。
構築者と破壊者 | |
|---|---|
SparseSegmentSqrtN (const :: tensorflow::Scope & scope, :: tensorflow::Input data, :: tensorflow::Input indices, :: tensorflow::Input segment_ids) |
公開属性 | |
|---|---|
operation | |
output | |
公的機能 | |
|---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const | |
公開属性
手術
Operation operation
出力
::tensorflow::Output output
公的機能
スパースセグメント平方根
SparseSegmentSqrtN( const ::tensorflow::Scope & scope, ::tensorflow::Input data, ::tensorflow::Input indices, ::tensorflow::Input segment_ids )
ノード
::tensorflow::Node * node() const
operator::tensorflow::Input
operator::tensorflow::Input() const
operator::tensorflow::Output
operator::tensorflow::Output() const