tensorflow::ops::BarrierTakeMany::Attrs

#include <data_flow_ops.h>

Définiteurs d'attributs optionnels pour BarrierTakeMany .

Résumé

attributs publics

allow_small_batch_ = false
bool
timeout_ms_ = -1
int64
wait_for_incomplete_ = false
bool

fonctions publiques

AllowSmallBatch (bool x)
TF_MUST_USE_RESULT Attrs
Autoriser le retour d'un nombre d'éléments inférieur à num_elements si la barrière est déjà fermée.
TimeoutMs (int64 x)
TF_MUST_USE_RESULT Attrs
Si la file d'attente est vide, cette opération sera bloquée pendant une durée maximale de timeout_ms millisecondes.
WaitForIncomplete (bool x)
TF_MUST_USE_RESULT Attrs
Par défaut, la valeur est false.

attributs publics

autoriser_petit_lot

bool tensorflow::ops::BarrierTakeMany::Attrs::allow_small_batch_ = false

délai_d'attente_ms_

int64 tensorflow::ops::BarrierTakeMany::Attrs::timeout_ms_ = -1

attendre_incomplet

bool tensorflow::ops::BarrierTakeMany::Attrs::wait_for_incomplete_ = false

fonctions publiques

Autoriser les petits lots

TF_MUST_USE_RESULT Attrs tensorflow::ops::BarrierTakeMany::Attrs::AllowSmallBatch(
  bool x
)

Autoriser le retour d'un nombre d'éléments inférieur à num_elements si la barrière est déjà fermée.

Par défaut, faux

Délai d'attente (ms)

TF_MUST_USE_RESULT Attrs tensorflow::ops::BarrierTakeMany::Attrs::TimeoutMs(
  int64 x
)

Si la file d'attente est vide, cette opération sera bloquée pendant une durée maximale de timeout_ms millisecondes.

Remarque : Cette option n'est pas encore prise en charge.

Par défaut, -1

AttendreIncomplet

TF_MUST_USE_RESULT Attrs tensorflow::ops::BarrierTakeMany::Attrs::WaitForIncomplete(
  bool x
)

Par défaut, la valeur est false.