tensorflow::ops::RandomShuffle

#include <random_ops.h>

Bir tensörü birinci boyutu boyunca rastgele karıştırır.

Özet

Tensör, 0 boyutu boyunca karıştırılarak her value[j] yalnızca bir output[i] ile eşleştirilir. Örneğin, 3x2'lik bir tensör için oluşabilecek bir eşleştirme şöyledir:

[[1, 2],       [[5, 6],
 [3, 4],  ==>   [1, 2],
 [5, 6]]        [3, 4]]

Argümanlar:

  • kapsam: Bir Kapsam nesnesi
  • Değer: Karıştırılacak tensör.

İsteğe bağlı özellikler (bkz. Attrs ):

  • seed: Eğer seed veya seed2 sıfırdan farklı bir değere ayarlanırsa, rastgele sayı üreteci verilen seed değeriyle başlatılır. Aksi takdirde, rastgele bir seed değeriyle başlatılır.
  • seed2: Tohum çakışmasını önlemek için ikinci bir tohum.

İadeler:

  • Output : value aynı şekil ve türde, birinci boyutu boyunca karıştırılmış bir tensör.

Yapıcılar ve Yıkıcılar

RandomShuffle (const :: tensorflow::Scope & scope, :: tensorflow::Input value)
RandomShuffle (const :: tensorflow::Scope & scope, :: tensorflow::Input value, const RandomShuffle::Attrs & attrs)

Genel özellikler

operation
output

Kamusal işlevler

node () const
::tensorflow::Node *
operator::tensorflow::Input () const
operator::tensorflow::Output () const

Herkese açık statik fonksiyonlar

Seed (int64 x)
Seed2 (int64 x)

Yapılar

tensorflow::ops::RandomShuffle::Attrs

RandomShuffle için isteğe bağlı özellik ayarlayıcıları.

Genel özellikler

operasyon

Operation operation

çıktı

::tensorflow::Output output

Kamusal işlevler

RastgeleKarıştır

 RandomShuffle(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input value
)

RastgeleKarıştır

 RandomShuffle(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input value,
  const RandomShuffle::Attrs & attrs
)

düğüm

::tensorflow::Node * node() const 

operatör::tensorflow::Giriş

 operator::tensorflow::Input() const 

operatör::tensorflow::Çıktı

 operator::tensorflow::Output() const 

Herkese açık statik fonksiyonlar

Tohum

Attrs Seed(
  int64 x
)

Tohum2

Attrs Seed2(
  int64 x
)