tensör akışı:: işlem:: Katılmayı Azalt
#include <string_ops.h>Verilen boyutlar boyunca bir Tensör dizesini birleştirir.
Özet
 Verilen şekil Tensörü içindeki boyutlar arasındaki dize birleşimini hesaplar [\\(d_0, d_1, ..., d_{n-1}\\)] . Giriş dizelerinin verilen ayırıcıyla birleştirilmesiyle oluşturulan yeni bir Tensör döndürür (varsayılan: boş dize). Negatif endeksler sondan geriye doğru sayılır; -1 n - 1 eşdeğerdir. Endeksler belirtilmemişse, n - 1 0 kadar tüm boyutlarda birleşir.
Örneğin:
# tensor `a` is [["a", "b"], ["c", "d"]] tf.reduce_join(a, 0) ==> ["ac", "bd"] tf.reduce_join(a, 1) ==> ["ab", "cd"] tf.reduce_join(a, -2) = tf.reduce_join(a, 0) ==> ["ac", "bd"] tf.reduce_join(a, -1) = tf.reduce_join(a, 1) ==> ["ab", "cd"] tf.reduce_join(a, 0, keep_dims=True) ==> [["ac", "bd"]] tf.reduce_join(a, 1, keep_dims=True) ==> [["ab"], ["cd"]] tf.reduce_join(a, 0, separator=".") ==> ["a.c", "b.d"] tf.reduce_join(a, [0, 1]) ==> "acbd" tf.reduce_join(a, [1, 0]) ==> "abcd" tf.reduce_join(a, []) ==> [["a", "b"], ["c", "d"]] tf.reduce_join(a) = tf.reduce_join(a, [1, 0]) ==> "abcd"
Argümanlar:
- kapsam: Bir Kapsam nesnesi
- Girişler: Birleştirilecek giriş. Tüm azaltılmış endeksler sıfırdan farklı bir boyuta sahip olmalıdır.
-  reduction_indices: Azaltılacak boyutlar. Boyutlar belirtilen sıraya göre küçültülür. reduction_indicesatlamak[n-1, n-2, ..., 0]geçirmeye eşdeğerdir.-n-1kadar negatif indeksler desteklenir.
 İsteğe bağlı özellikler (bkz. Attrs ):
-  keep_dims: Trueise, uzunluğu1olan azaltılmış boyutları koruyun.
- ayırıcı: Birleştirme sırasında kullanılacak ayırıcı.
İade:
-  Output:keep_dimsbağlı olarak küçültülmüş boyutların kaldırıldığı veya1ayarlandığı girişin şekline eşit bir şekle sahiptir.
| Yapıcılar ve Yıkıcılar | |
|---|---|
| ReduceJoin (const :: tensorflow::Scope & scope, :: tensorflow::Input inputs, :: tensorflow::Input reduction_indices) | |
| ReduceJoin (const :: tensorflow::Scope & scope, :: tensorflow::Input inputs, :: tensorflow::Input reduction_indices, const ReduceJoin::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 | |
|---|---|
| KeepDims (bool x) | |
| Separator (StringPiece x) | |
| Yapılar | |
|---|---|
| tensorflow:: ops:: LowerJoin:: Öznitelikler | ReducJoin için isteğe bağlı öznitelik ayarlayıcılar. | 
Genel özellikler
operasyon
Operation operation
çıktı
::tensorflow::Output output
Kamu işlevleri
Katılmayı Azalt
ReduceJoin( const ::tensorflow::Scope & scope, ::tensorflow::Input inputs, ::tensorflow::Input reduction_indices )
Katılmayı Azalt
ReduceJoin( const ::tensorflow::Scope & scope, ::tensorflow::Input inputs, ::tensorflow::Input reduction_indices, const ReduceJoin::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
KeepDims
Attrs KeepDims( bool x )
Ayırıcı
Attrs Separator( StringPiece x )