tensorflow :: ops :: MapStage

#include <data_flow_ops.h>

Tahap (kunci, nilai) dalam wadah yang mendasari yang berperilaku seperti hashtable.

Ringkasan

Argumen:

  • scope: Objek Scope
  • kunci: int64
  • values: daftar tensor dtypes Daftar tipe data yang disisipkan nilai harus dipatuhi.

Atribut opsional (lihat Attrs ):

  • kapasitas: Jumlah maksimum elemen di Area Pementasan. Jika> 0, sisipan pada penampung akan terhalang ketika kapasitas tercapai.
  • container: Jika tidak kosong, antrian ini ditempatkan di container yang diberikan. Jika tidak, penampung default digunakan.
  • shared_name: Nama ini harus cocok dengan Unstage Op.

Pengembalian:

Pembangun dan Penghancur

MapStage (const :: tensorflow::Scope & scope, :: tensorflow::Input key, :: tensorflow::Input indices, :: tensorflow::InputList values, const DataTypeSlice & dtypes)
MapStage (const :: tensorflow::Scope & scope, :: tensorflow::Input key, :: tensorflow::Input indices, :: tensorflow::InputList values, const DataTypeSlice & dtypes, const MapStage::Attrs & attrs)

Atribut publik

operation

Fungsi publik

operator::tensorflow::Operation () const

Fungsi statis publik

Capacity (int64 x)
Container (StringPiece x)
MemoryLimit (int64 x)
SharedName (StringPiece x)

Structs

tensorflow :: ops :: MapStage :: Attrs

Penyetel atribut opsional untuk MapStage .

Atribut publik

operasi

Operation operation

Fungsi publik

MapStage

 MapStage(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input key,
  ::tensorflow::Input indices,
  ::tensorflow::InputList values,
  const DataTypeSlice & dtypes
)

MapStage

 MapStage(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input key,
  ::tensorflow::Input indices,
  ::tensorflow::InputList values,
  const DataTypeSlice & dtypes,
  const MapStage::Attrs & attrs
)

operator :: tensorflow :: Operasi

 operator::tensorflow::Operation() const 

Fungsi statis publik

Kapasitas

Attrs Capacity(
  int64 x
)

Wadah

Attrs Container(
  StringPiece x
)

MemoryLimit

Attrs MemoryLimit(
  int64 x
)

SharedName

Attrs SharedName(
  StringPiece x
)