SparseSparseMinimum


tensorflow C++ API

tensorflow::ops::SparseSparseMinimum

Returns the element-wise min 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 rdering.
  • 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.

SparseSparseMinimum 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_values: connect Input node.
  • Input b_values: connect Input node.
  • Input b_shape: connect Input node.

Return:

  • Output output_indices: Output object of SparseSparseMaximum class object.
  • Output output_values: Output object of SparseSparseMaximum class object.

Result:

  • std::vector(Tensor) result_output_indices : Returned object of executed result by calling session.
  • std::vector(Tensor) result_output_values : Returned object of executed result by calling session.

Using Method

results matching ""

    No results matching ""