CollectiveGatherV2

kelas akhir publik CollectiveGatherV2

Saling mengakumulasi beberapa tensor dengan jenis dan bentuk yang identik.

Kelas Bersarang

kelas CollectiveGatherV2.Opsi Atribut opsional untuk CollectiveGatherV2

Metode Publik

Keluaran <T>
sebagai Keluaran ()
Mengembalikan pegangan simbolik tensor.
CollectiveGatherV2.Options statis
Petunjuk komunikasi (Petunjuk komunikasi string)
statis <T memperluas Nomor> CollectiveGatherV2 <T>
buat ( Lingkup lingkup, masukan Operand <T>, Operand <Integer> groupSize, Operand <Integer> groupKey, Operand <Integer> instanceKey, Iterable< Operand <?>> orderingToken, Opsi... opsi)
Metode pabrik untuk membuat kelas yang membungkus operasi CollectiveGatherV2 baru.
Keluaran <T>
data ()
CollectiveGatherV2.Options statis
timeoutSeconds (Float timeoutSeconds)

Metode Warisan

Metode Publik

Keluaran publik <T> sebagai Keluaran ()

Mengembalikan pegangan simbolik tensor.

Masukan ke operasi TensorFlow adalah keluaran dari operasi TensorFlow lainnya. Metode ini digunakan untuk mendapatkan pegangan simbolis yang mewakili perhitungan input.

Public Static CollectiveGatherV2.Options CommunicationHint (String CommunicationHint)

public static CollectiveGatherV2 <T> buat ( Lingkup cakupan , masukan Operand <T>, Operand <Integer> groupSize, Operand <Integer> groupKey, Operand <Integer> instanceKey, Iterable< Operand <?>> orderingToken, Opsi... opsi)

Metode pabrik untuk membuat kelas yang membungkus operasi CollectiveGatherV2 baru.

Parameter
cakupan ruang lingkup saat ini
pilihan membawa nilai atribut opsional
Kembali
  • contoh baru dari CollectiveGatherV2

publik Keluaran <T> data ()

public static CollectiveGatherV2.Options timeoutSeconds (Float timeoutSeconds)