tensorflow::ops::RandomUniform

#include <random_ops.h>

Tekdüze dağılımdan rastgele değerler üretir.

Özet

Üretilen değerler [0, 1) aralığında tekdüze bir dağılıma uymaktadır. Alt sınır 0 aralığa dahil edilirken, üst sınır 1 hariç tutulmuştur.

Argümanlar:

  • kapsam: Bir Kapsam nesnesi
  • Şekil: Çıkış tensörünün şekli.
  • dtype: Çıktının tü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 : Belirtilen şekle sahip ve tekdüze rastgele değerlerle doldurulmuş bir tensör.

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

RandomUniform (const :: tensorflow::Scope & scope, :: tensorflow::Input shape, DataType dtype)
RandomUniform (const :: tensorflow::Scope & scope, :: tensorflow::Input shape, DataType dtype, const RandomUniform::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::RandomUniform::Attrs

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

Genel özellikler

operasyon

Operation operation

çıktı

::tensorflow::Output output

Kamusal işlevler

Rastgele Tekdüze

 RandomUniform(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input shape,
  DataType dtype
)

Rastgele Tekdüze

 RandomUniform(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input shape,
  DataType dtype,
  const RandomUniform::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
)