SparseTensorDenseAdd
tensorflow C++ API
tensorflow::ops::SparseTensorDenseAdd
Adds up aSparseTensor
and a denseTensor
, producing a denseTensor
.
Summary
This Op does not requirea_indices
be sorted in standard lexicographic order.
Arguments:
- scope: AScopeobject
- 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
-DTensor. With shapea_shape
.
Returns:
Output
: The output tensor.
SparseTensorDenseAdd block
Source link : https://github.com/EXPNUNI/enuSpaceTensorflow/blob/master/enuSpaceTensorflow/tf_sparse.cpp
Argument:
- Scope scope : A Scope object (A scope is generated automatically each page. A scope is not connected.)
- Input a_indices: connect Input node.
- Input a_values: connect Input node.
- Input a_shape: connect Input node.
- Input b: connect Input node.
Return:
- Output output_indices: Output object of SparseTensorDenseAdd class object.
Result:
- std::vector(Tensor) result_output : Returned object of executed result by calling session.