tensorflow::ops::SparseTensorDenseAdd
#include <sparse_ops.h>
Adds up a SparseTensor
and a dense Tensor
, producing a dense Tensor
.
Summary
This Op does not require a_indices
be sorted in standard lexicographic order.
Arguments:
- scope: A Scope object
- a_indices: 2-D. The
indices
of theSparseTensor
, with shape[nnz, ndims]
. - a_values: 1-D. The
values
of theSparseTensor
, with shape[nnz]
. - a_shape: 1-D. The
shape
of theSparseTensor
, with shape[ndims]
. - b:
ndims
-D Tensor. With shapea_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 | |
---|---|
operation | |
output |
Public functions | |
---|---|
node() const | ::tensorflow::Node * |
operator::tensorflow::Input() const | |
operator::tensorflow::Output() const |
Public attributes
operation
Operation operation
output
::tensorflow::Output output
Public functions
SparseTensorDenseAdd
SparseTensorDenseAdd( const ::tensorflow::Scope & scope, ::tensorflow::Input a_indices, ::tensorflow::Input a_values, ::tensorflow::Input a_shape, ::tensorflow::Input b )
node
::tensorflow::Node * node() const
operator::tensorflow::Input
operator::tensorflow::Input() const
operator::tensorflow::Output
operator::tensorflow::Output() const
© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 4.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r2.4/api_docs/cc/class/tensorflow/ops/sparse-tensor-dense-add