tensorflow:: ops:: SparseSparseMaximum
#include <sparse_ops.h>
Returns the element-wise max of two SparseTensors.
Summary
Assumes the two SparseTensors have the same shape, i.e., no broadcasting.
Args:
- scope: A Scope object
- a_indices: 2-D.
N x Rmatrix with the indices of non-empty values in a SparseTensor, in the canonical lexicographic ordering. - a_values: 1-D.
Nnon-empty values corresponding toa_indices. - a_shape: 1-D. Shape of the input SparseTensor.
- b_indices: counterpart to
a_indicesfor the other operand. - b_values: counterpart to
a_valuesfor the other operand; must be of the same dtype. - b_shape: counterpart to
a_shapefor the other operand; the two shapes must be equal.
Returns:
Outputoutput_indices: 2-D. The indices of the output SparseTensor.Outputoutput_values: 1-D. The values of the output SparseTensor.
Constructors and Destructors |
|
|---|---|
SparseSparseMaximum(const ::tensorflow::Scope & scope, ::tensorflow::Input a_indices, ::tensorflow::Input a_values, ::tensorflow::Input a_shape, ::tensorflow::Input b_indices, ::tensorflow::Input b_values, ::tensorflow::Input b_shape)
|
Public attributes |
|
|---|---|
operation
|
|
output_indices
|
|
output_values
|
|
Public attributes
operation
Operation operation
output_indices
::tensorflow::Output output_indices
output_values
::tensorflow::Output output_values
Public functions
SparseSparseMaximum
SparseSparseMaximum( const ::tensorflow::Scope & scope, ::tensorflow::Input a_indices, ::tensorflow::Input a_values, ::tensorflow::Input a_shape, ::tensorflow::Input b_indices, ::tensorflow::Input b_values, ::tensorflow::Input b_shape )