#include <sparse_ops.h>
Returns the element-wise min of two SparseTensors.
Assumes the two SparseTensors have the same shape, i.e., no broadcasting.
Arguments:
N x R
matrix with the indices of non-empty values in a SparseTensor, in the canonical lexicographic ordering.N
non-empty values corresponding to a_indices
.a_indices
for the other operand.a_values
for the other operand; must be of the same dtype.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 | |
---|---|
SparseSparseMinimum(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 | |
---|---|
output_indices | |
output_values |
::tensorflow::Output output_indices
::tensorflow::Output output_values
SparseSparseMinimum( 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 )
© 2017 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/cc/class/tensorflow/ops/sparse-sparse-minimum.html