Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
przepływ tensorowy:: ops:: RzadkiRzadkiMinimalny
#include <sparse_ops.h>
Zwraca elementarną wartość minimalną dwóch SparseTensorów.
Streszczenie
Zakłada się, że dwa SparseTensory mają ten sam kształt, tj. nie są rozgłaszane.
Argumenty:
- zakres: Obiekt Scope
- a_indeksy: 2-D. Macierz
N x R
z indeksami wartości niepustych w SparseTensorze, w kanonicznym porządku leksykograficznym. - a_wartości: 1-D.
N
niepustych wartości odpowiadających a_indices
. - a_kształt: 1-D. Kształt wejścia SparseTensor.
- b_indices: odpowiednik
a_indices
dla drugiego operandu. - b_values: odpowiednik
a_values
dla drugiego operandu; musi być tego samego typu d. - b_shape: odpowiednik
a_shape
dla drugiego operandu; oba kształty muszą być równe.
Zwroty:
-
Output
indeksy_wyjściowe: 2-D. Indeksy wyjściowego SparseTensor. -
Output
wartości_wyjściowe: 1-D. Wartości wyjściowe SparseTensor.
Atrybuty publiczne
Funkcje publiczne
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-25 UTC.
[null,null,["Ostatnia aktualizacja: 2025-07-25 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```"]]