tensor akışı:: işlem:: ArgMin
#include <math_ops.h>Bir tensörün boyutları genelinde en küçük değere sahip dizini döndürür.
Özet
Eşitlik durumunda dönüş değerinin kimliğinin garanti edilmediğini unutmayın.
Kullanımı:
import tensorflow as tf a = [1, 10, 26.9, 2.8, 166.32, 62.3] b = tf.math.argmin(input = a) c = tf.keras.backend.eval(b) # c = 0 # here a[0] = 1 which is the smallest element of a across axis 0
Argümanlar:
- kapsam: Bir Kapsam nesnesi
-  boyut: int32 veya int64, [-rank(input), rank(input))aralığında olmalıdır. Giriş Tensörünün hangi boyutunun azaltılacağını açıklar. Vektörler için boyut = 0'ı kullanın.
İade:
-  Output: Çıkış tensörü.
| Yapıcılar ve Yıkıcılar | |
|---|---|
| ArgMin (const :: tensorflow::Scope & scope, :: tensorflow::Input input, :: tensorflow::Input dimension) | |
| ArgMin (const :: tensorflow::Scope & scope, :: tensorflow::Input input, :: tensorflow::Input dimension, const ArgMin::Attrs & attrs) | 
| Genel özellikler | |
|---|---|
| operation | |
| output | |
| Kamu işlevleri | |
|---|---|
| node () const | ::tensorflow::Node * | 
| operator::tensorflow::Input () const | |
| operator::tensorflow::Output () const | |
| Genel statik işlevler | |
|---|---|
| OutputType (DataType x) | |
| Yapılar | |
|---|---|
| tensorflow:: ops:: ArgMin:: Öznitelikler | ArgMin için isteğe bağlı öznitelik ayarlayıcılar. | 
Genel özellikler
operasyon
Operation operation
çıktı
::tensorflow::Output output
Kamu işlevleri
ArgMin
ArgMin( const ::tensorflow::Scope & scope, ::tensorflow::Input input, ::tensorflow::Input dimension )
ArgMin
ArgMin( const ::tensorflow::Scope & scope, ::tensorflow::Input input, ::tensorflow::Input dimension, const ArgMin::Attrs & attrs )
düğüm
::tensorflow::Node * node() const
operatör::tensorflow::Giriş
operator::tensorflow::Input() const
operatör::tensorflow::Çıktı
operator::tensorflow::Output() const
Genel statik işlevler
Çıkış Türü
Attrs OutputType( DataType x )