tensorflow :: ops :: RandomShuffleQueue

#include <data_flow_ops.h>

Antrean yang mengacak urutan elemen.

Ringkasan

Argumen:

  • scope: Objek Scope
  • component_types: Jenis setiap komponen dalam sebuah nilai.

Atribut opsional (lihat Attrs ):

  • bentuk: Bentuk setiap komponen dalam sebuah nilai. Panjang attr ini harus 0 atau sama dengan panjang component_types. Jika panjang dari attr ini adalah 0, bentuk elemen antrian tidak dibatasi, dan hanya satu elemen yang dapat di-dequeued pada satu waktu.
  • kapasitas: Batas atas jumlah elemen dalam antrian ini. Angka negatif berarti tidak ada batasan.
  • min_after_dequeue: Dequeue akan diblokir kecuali jika ada banyak elemen setelah dequeue atau antrian ditutup. Ini memastikan tingkat pencampuran elemen minimum.
  • benih: Jika salah satu benih atau benih2 diatur menjadi bukan nol, generator nomor acak disemai oleh benih yang diberikan. Jika tidak, benih acak digunakan.
  • seed2: Benih kedua untuk menghindari tumbukan benih.
  • container: Jika tidak kosong, antrian ini ditempatkan di container yang diberikan. Jika tidak, penampung default digunakan.
  • shared_name: Jika tidak kosong, antrian ini akan dibagikan dengan nama yang diberikan di beberapa sesi.

Pengembalian:

  • Output : Pegangan ke antrian.

Pembangun dan Penghancur

RandomShuffleQueue (const :: tensorflow::Scope & scope, const DataTypeSlice & component_types)
RandomShuffleQueue (const :: tensorflow::Scope & scope, const DataTypeSlice & component_types, const RandomShuffleQueue::Attrs & attrs)

Atribut publik

handle
operation

Fungsi publik

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

Fungsi statis publik

Capacity (int64 x)
Container (StringPiece x)
MinAfterDequeue (int64 x)
Seed (int64 x)
Seed2 (int64 x)
Shapes (const gtl::ArraySlice< PartialTensorShape > & x)
SharedName (StringPiece x)

Structs

tensorflow :: ops :: RandomShuffleQueue :: Attrs

Penyetel atribut opsional untuk RandomShuffleQueue .

Atribut publik

menangani

::tensorflow::Output handle

operasi

Operation operation

Fungsi publik

RandomShuffleQueue

 RandomShuffleQueue(
  const ::tensorflow::Scope & scope,
  const DataTypeSlice & component_types
)

RandomShuffleQueue

 RandomShuffleQueue(
  const ::tensorflow::Scope & scope,
  const DataTypeSlice & component_types,
  const RandomShuffleQueue::Attrs & attrs
)

simpul

::tensorflow::Node * node() const 

operator :: tensorflow :: Input

 operator::tensorflow::Input() const 

operator :: tensorflow :: Keluaran

 operator::tensorflow::Output() const 

Fungsi statis publik

Kapasitas

Attrs Capacity(
  int64 x
)
.dll

Wadah

Attrs Container(
  StringPiece x
)

MinAfterDequeue

Attrs MinAfterDequeue(
  int64 x
)

Benih

Attrs Seed(
  int64 x
)

Benih2

Attrs Seed2(
  int64 x
)

Bentuk

Attrs Shapes(
  const gtl::ArraySlice< PartialTensorShape > & x
)

SharedName

Attrs SharedName(
  StringPiece x
)