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

CollectiveGatherV2

public class akhir CollectiveGatherV2

Saling mengakumulasi beberapa tensor dengan jenis dan bentuk yang identik.

Kelas Bersarang

kelas CollectiveGatherV2.Options Atribut opsional untuk CollectiveGatherV2

Metode Publik

Output <T>
asOutput ()
Mengembalikan pegangan simbolis tensor.
statis CollectiveGatherV2.Options
communicationHint (String communicationHint)
statis <T meluas Nomor> CollectiveGatherV2 <T>
membuat ( Lingkup lingkup, Operan <T> input, Operan <Integer> groupSize, Operan <Integer> groupKey, Operan <Integer> instanceKey, Iterable < Operan <? >> orderingToken, Options ... pilihan)
Metode pabrik untuk membuat kelas yang membungkus operasi CollectiveGatherV2 baru.
Output <T>
Data ()
statis CollectiveGatherV2.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 CollectiveGatherV2.Options communicationHint (String communicationHint)

public static CollectiveGatherV2 <T> membuat ( Lingkup lingkup, Operan <T> input, Operan <Integer> groupSize, Operan <Integer> groupKey, Operan <Integer> instanceKey, Iterable < Operan <? >> orderingToken, Options ... pilihan)

Metode pabrik untuk membuat kelas yang membungkus operasi CollectiveGatherV2 baru.

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

publik Keluaran <T> data ()

public static CollectiveGatherV2.Options timeoutSeconds (Lampung timeoutSeconds)