tensorflow::ops::RandomShuffleQueue

#include <data_flow_ops.h>

Antrian yang mengacak urutan elemen.

Ringkasan

Argumen:

  • Cakupan: Objek Cakupan
  • component_types: Tipe setiap komponen dalam suatu nilai.

Atribut opsional (lihat Attrs ):

  • shapes: Bentuk setiap komponen dalam suatu nilai. Panjang atribut ini harus 0 atau sama dengan panjang component_types. Jika panjang atribut ini adalah 0, bentuk elemen antrian tidak dibatasi, dan hanya satu elemen yang dapat dikeluarkan dari antrian pada satu waktu.
  • Kapasitas: Batas atas jumlah elemen dalam antrian ini. Angka negatif berarti tidak ada batasan.
  • min_after_dequeue: Dequeue akan memblokir kecuali jika terdapat sejumlah elemen ini setelah dequeue atau antrian ditutup. Ini memastikan tingkat pencampuran elemen minimum.
  • seed: Jika seed atau seed2 diatur ke nilai bukan nol, maka generator angka acak akan diinisialisasi dengan seed yang diberikan. Jika tidak, seed acak akan digunakan.
  • seed2: Benih kedua untuk menghindari benturan benih.
  • kontainer: Jika tidak kosong, antrean ini ditempatkan di kontainer yang diberikan. Jika tidak, kontainer default akan digunakan.
  • shared_name: Jika tidak kosong, antrean ini akan dibagikan dengan nama yang diberikan di beberapa sesi.

Mengembalikan:

Konstruktor dan Destruktor

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)

Struktur

tensorflow::ops::RandomShuffleQueue::Attrs

Pengaturan atribut opsional untuk RandomShuffleQueue .

Atribut publik

menangani

::tensorflow::Output handle

operasi

Operation operation

Fungsi publik

Antrian Acak

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

Antrian Acak

 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::Output

 operator::tensorflow::Output() const 

Fungsi statis publik

Kapasitas

Attrs Capacity(
  int64 x
)

Wadah

Attrs Container(
  StringPiece x
)

MinAfterDequeue

Attrs MinAfterDequeue(
  int64 x
)

Benih

Attrs Seed(
  int64 x
)

Benih 2

Attrs Seed2(
  int64 x
)

Bentuk

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

Nama Bersama

Attrs SharedName(
  StringPiece x
)