#include <sparse_ops.h>
Adds up a SparseTensor and a dense Tensor, producing a dense Tensor.
This Op does not require a_indices be sorted in standard lexicographic order.
Arguments:
indices of the SparseTensor, with shape [nnz, ndims].values of the SparseTensor, with shape [nnz].shape of the SparseTensor, with shape [ndims].ndims-D Tensor. With shape a_shape.Returns:
Output: The output tensor. | Constructors and Destructors | |
|---|---|
SparseTensorDenseAdd(const ::tensorflow::Scope & scope, ::tensorflow::Input a_indices, ::tensorflow::Input a_values, ::tensorflow::Input a_shape, ::tensorflow::Input b) |
| Public attributes | |
|---|---|
output | |
| Public functions | |
|---|---|
node() const | ::tensorflow::Node * |
operator::tensorflow::Input() const | |
operator::tensorflow::Output() const | |
::tensorflow::Output output
SparseTensorDenseAdd( const ::tensorflow::Scope & scope, ::tensorflow::Input a_indices, ::tensorflow::Input a_values, ::tensorflow::Input a_shape, ::tensorflow::Input b )
::tensorflow::Node * node() const
operator::tensorflow::Input() const
operator::tensorflow::Output() const
© 2018 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/cc/class/tensorflow/ops/sparse-tensor-dense-add.html