tensorflow:: ops:: SparseDenseCwiseMul
#include <sparse_ops.h>コンポーネントごとに、疎テンソルと密テンソルを乗算します。
まとめ
疎テンソル内の暗黙的にゼロとなる要素に対応する出力位置は、密テンソルの内容に関係なく(たとえそれが±INFでINF*0 == NaNであっても)、ゼロになります(つまり、記憶領域を占有しません)。
制限事項:この操作は密な側から疎な側へのみブロードキャストし、逆方向にはブロードキャストしません。
議論:
- スコープ:スコープオブジェクト
- sp_indices: 2次元。SparseTensor内の空でない値のインデックスを含む
N x R行列。必ずしも標準的な順序ではない可能性があります。 -
sp_indices: 1次元。sp_indicesに対応するN個の空でない値。 - sp_shape: 1次元。入力SparseTensorの形状。
- 密:
R-D。密なテンソルオペランド。
返品:
-
Output:1次元。演算対象となるNの値。
コンストラクターとデストラクタ | |
|---|---|
SparseDenseCwiseMul (const :: tensorflow::Scope & scope, :: tensorflow::Input sp_indices, :: tensorflow::Input sp_values, :: tensorflow::Input sp_shape, :: tensorflow::Input dense) |
公開属性 | |
|---|---|
operation | |
output | |
公的機能 | |
|---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const | |
公開属性
手術
Operation operation
出力
::tensorflow::Output output
公的機能
疎密CwiseMul
SparseDenseCwiseMul( const ::tensorflow::Scope & scope, ::tensorflow::Input sp_indices, ::tensorflow::Input sp_values, ::tensorflow::Input sp_shape, ::tensorflow::Input dense )
ノード
::tensorflow::Node * node() const
operator::tensorflow::Input
operator::tensorflow::Input() const
operator::tensorflow::Output
operator::tensorflow::Output() const