Component-wise multiplies a SparseTensor by a dense Tensor.
View aliases
Compat aliases for migration
See Migration guide for more details.
tf.raw_ops.SparseDenseCwiseMul(
sp_indices, sp_values, sp_shape, dense, name=None
)
The output locations corresponding to the implicitly zero elements in the sparse tensor will be zero (i.e., will not take up storage space), regardless of the contents of the dense tensor (even if it's +/-INF and that INF*0 == NaN).
Limitation: this Op only broadcasts the dense side to the sparse side, but not the other direction.
Returns | |
---|---|
A Tensor . Has the same type as sp_values .
|