Peringatan: API ini tidak digunakan lagi dan akan dihapus di versi TensorFlow mendatang setelah penggantinya stabil.

CollectiveGather

public class akhir CollectiveGather

Saling mengakumulasi beberapa tensor dengan jenis dan bentuk yang identik.

Kelas Bersarang

kelas CollectiveGather.Options Atribut opsional untuk CollectiveGather

Metode Publik

Output <T>
asOutput ()
Mengembalikan pegangan simbolis tensor.
statis CollectiveGather.Options
communicationHint (String communicationHint)
statis <T meluas Nomor> CollectiveGather <T>
membuat ( Lingkup lingkup, Operan <T> masukan, Long groupSize, Long groupKey, Long instanceKey, Shape bentuk, Options ... pilihan)
Metode pabrik untuk membuat kelas yang membungkus operasi CollectiveGather baru.
Output <T>
Data ()
statis CollectiveGather.Options
timeoutSeconds (timeoutSeconds Lampung)

Metode yang Diwarisi

Metode Publik

publik Keluaran <T> asOutput ()

Mengembalikan pegangan simbolis tensor.

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

public static CollectiveGather.Options communicationHint (String communicationHint)

public static CollectiveGather <T> membuat ( Lingkup lingkup, Operan <T> masukan, Long groupSize, Long groupKey, Long instanceKey, Shape bentuk, Options ... pilihan)

Metode pabrik untuk membuat kelas yang membungkus operasi CollectiveGather baru.

Parameter
cakupan lingkup saat ini
pilihan membawa nilai atribut opsional
Kembali
  • contoh baru CollectiveGather

publik Keluaran <T> data ()

public static CollectiveGather.Options timeoutSeconds (Lampung timeoutSeconds)