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.

Arguments:

  • scope: A Scope object
  • a_indices: 2-D. N x R matrix with the indices of non-empty values in a SparseTensor, in the canonical lexicographic ordering.
  • a_values: 1-D. N non-empty values corresponding to a_indices.
  • a_shape: 1-D. Shape of the input SparseTensor.
  • b_indices: counterpart to a_indices for the other operand.
  • b_values: counterpart to a_values for the other operand; must be of the same dtype.
  • b_shape: counterpart to a_shape for the other operand; the two shapes must be equal.

Returns:

  • Output output_indices: 2-D. The indices of the output SparseTensor.
  • Output output_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
)