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.

Args:

  • scope: A Scope object
  • a_indices: 2-D. The indices of the SparseTensor, with shape [nnz, ndims].
  • a_values: 1-D. The values of the SparseTensor, with shape [nnz].
  • a_shape: 1-D. The shape of the SparseTensor, with shape [ndims].
  • b: ndims-D Tensor. With shape a_shape.

Returns:

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