Stay organized with collections
Save and categorize content based on your preferences.
tensorflow::ops::SparseSparseMinimum
#include <sparse_ops.h>
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 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.
Public attributes
Public functions
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2020-04-20 UTC.
[null,null,["Last updated 2020-04-20 UTC."],[],[],null,["# tensorflow::ops::SparseSparseMinimum Class Reference\n\ntensorflow::ops::SparseSparseMinimum\n====================================\n\n`#include \u003csparse_ops.h\u003e`\n\nReturns the element-wise min of two SparseTensors.\n\nSummary\n-------\n\nAssumes the two SparseTensors have the same shape, i.e., no broadcasting.\n\nArguments:\n\n- scope: A [Scope](/versions/r1.15/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope) object\n- a_indices: 2-D. `N x R` matrix with the indices of non-empty values in a SparseTensor, in the canonical lexicographic ordering.\n- a_values: 1-D. `N` non-empty values corresponding to `a_indices`.\n- a_shape: 1-D. Shape of the input SparseTensor.\n- b_indices: counterpart to `a_indices` for the other operand.\n- b_values: counterpart to `a_values` for the other operand; must be of the same dtype.\n- b_shape: counterpart to `a_shape` for the other operand; the two shapes must be equal.\n\n\u003cbr /\u003e\n\nReturns:\n\n- [Output](/versions/r1.15/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) output_indices: 2-D. The indices of the output SparseTensor.\n- [Output](/versions/r1.15/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) output_values: 1-D. The values of the output SparseTensor.\n\n\u003cbr /\u003e\n\n| ### Constructors and Destructors ||\n|---|---|\n| [SparseSparseMinimum](#classtensorflow_1_1ops_1_1_sparse_sparse_minimum_1a618817c1bf273d356c39d50665159337)`(const ::`[tensorflow::Scope](/versions/r1.15/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope)` & scope, ::`[tensorflow::Input](/versions/r1.15/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` a_indices, ::`[tensorflow::Input](/versions/r1.15/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` a_values, ::`[tensorflow::Input](/versions/r1.15/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` a_shape, ::`[tensorflow::Input](/versions/r1.15/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` b_indices, ::`[tensorflow::Input](/versions/r1.15/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` b_values, ::`[tensorflow::Input](/versions/r1.15/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` b_shape)` ||\n\n| ### Public attributes ||\n|--------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------|\n| [operation](#classtensorflow_1_1ops_1_1_sparse_sparse_minimum_1a33f88f5db64cfd7952d1e77a3fbc7484) | [Operation](/versions/r1.15/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation) |\n| [output_indices](#classtensorflow_1_1ops_1_1_sparse_sparse_minimum_1a7453ec5556b383b524e2f500ceb09bb4) | `::`[tensorflow::Output](/versions/r1.15/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) |\n| [output_values](#classtensorflow_1_1ops_1_1_sparse_sparse_minimum_1a38a8cf1da768df6042ab605760ace807) | `::`[tensorflow::Output](/versions/r1.15/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) |\n\nPublic attributes\n-----------------\n\n### operation\n\n```text\nOperation operation\n``` \n\n### output_indices\n\n```scdoc\n::tensorflow::Output output_indices\n``` \n\n### output_values\n\n```scdoc\n::tensorflow::Output output_values\n``` \n\nPublic functions\n----------------\n\n### SparseSparseMinimum\n\n```gdscript\n SparseSparseMinimum(\n const ::tensorflow::Scope & scope,\n ::tensorflow::Input a_indices,\n ::tensorflow::Input a_values,\n ::tensorflow::Input a_shape,\n ::tensorflow::Input b_indices,\n ::tensorflow::Input b_values,\n ::tensorflow::Input b_shape\n)\n```"]]