Public static methods
string collective_leader(ClusterSpec cluster_spec, string task_type, Nullable<int> task_id)
string collective_leader(ValueTuple<IDictionary<object, object>, PythonClassContainer> cluster_spec, string task_type, Nullable<int> task_id)
string collective_leader(IDictionary<string, IEnumerable<string>> cluster_spec, string task_type, Nullable<int> task_id)
object collective_leader_dyn(object cluster_spec, object task_type, object task_id)
bool has_worker_context()
object has_worker_context_dyn()
Nullable<int> id_in_cluster(ClusterSpec cluster_spec, string task_type, Nullable<int> task_id)
Nullable<int> id_in_cluster(ValueTuple<IDictionary<object, object>, PythonClassContainer> cluster_spec, string task_type, Nullable<int> task_id)
Nullable<int> id_in_cluster(IDictionary<string, IEnumerable<string>> cluster_spec, string task_type, Nullable<int> task_id)
object id_in_cluster_dyn(object cluster_spec, object task_type, object task_id)
bool is_chief(IDictionary<string, IEnumerable<string>> cluster_spec, string task_type, Nullable<int> task_id)
bool is_chief(ValueTuple<IDictionary<object, object>, PythonClassContainer> cluster_spec, MirroredStrategy task_type, Nullable<int> task_id)
bool is_chief(ValueTuple<IDictionary<object, object>, PythonClassContainer> cluster_spec, string task_type, Nullable<int> task_id)
bool is_chief(ClusterSpec cluster_spec, string task_type, Nullable<int> task_id)
bool is_chief(IDictionary<string, IEnumerable<string>> cluster_spec, MirroredStrategy task_type, Nullable<int> task_id)
object is_chief_dyn(object cluster_spec, object task_type, object task_id)
object normalize_cluster_spec(IDictionary<string, IEnumerable<string>> cluster_spec)
object normalize_cluster_spec(IEnumerable<string> cluster_spec)
object normalize_cluster_spec(ValueTuple<IDictionary<object, object>, PythonClassContainer> cluster_spec)
object normalize_cluster_spec(ClusterSpec cluster_spec)
object normalize_cluster_spec_dyn(object cluster_spec)
object should_load_checkpoint()
object should_load_checkpoint_dyn()
object should_save_checkpoint()
object should_save_checkpoint_dyn()
object wait_for_other_workers()
object wait_for_other_workers_dyn()
int worker_count(IDictionary<string, IEnumerable<string>> cluster_spec, string task_type)
int worker_count(ValueTuple<IDictionary<object, object>, PythonClassContainer> cluster_spec, string task_type)
int worker_count(ClusterSpec cluster_spec, string task_type)
object worker_count_dyn(object cluster_spec, object task_type)
Public properties