Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
tensor akışı:: işlem:: Seyrek SeyrekMinimum
#include <sparse_ops.h>
İki SparseTensors'ın öğe bazında minimum değerini döndürür.
Özet
İki SparseTensors'ın aynı şekle sahip olduğunu, yani yayın yapmadığını varsayar.
Argümanlar:
- kapsam: Bir Kapsam nesnesi
- a_endeksler: 2-B. Kanonik sözlükbilimsel sıralamada bir SparseTensor'da boş olmayan değerlerin indekslerini içeren
N x R
matrisi. - a_değerleri: 1-D.
a_indices
öğesine karşılık gelen N
boş olmayan değer. - a_şekli: 1-D. SparseTensor girişinin şekli.
- b_indices: diğer işlenen için
a_indices
karşılığı. - b_values: diğer işlenen için
a_values
karşılığı; aynı tipte olmalıdır. - b_shape: diğer işlenen için
a_shape
karşılığı; iki şekil eşit olmalıdır.
İade:
-
Output
çıktı_endeksleri: 2-D. SparseTensor çıkışının endeksleri. -
Output
çıkış değerleri: 1-D. SparseTensor çıkışının değerleri.
Genel özellikler
Kamu işlevleri
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-07-25 UTC.
[null,null,["Son güncelleme tarihi: 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```"]]