SparseTensorDenseAdd


tensorflow C++ API

tensorflow::ops::SparseTensorDenseAdd

Adds up aSparseTensorand a denseTensor, producing a denseTensor.


Summary

This Op does not requirea_indicesbe sorted in standard lexicographic order.

Arguments:

  • scope: AScopeobject
  • a_indices: 2-D. Theindicesof theSparseTensor, with shape[nnz, ndims].
  • a_values: 1-D. Thevaluesof theSparseTensor, with shape[nnz].
  • a_shape: 1-D. Theshapeof theSparseTensor, with shape[ndims].
  • b:ndims-DTensor. With shapea_shape.

Returns:


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.

Using Method

results matching ""

    No results matching ""