Home
last modified time | relevance | path

Searched refs:TPUInitMode (Results 1 – 3 of 3) sorted by relevance

/external/tensorflow/tensorflow/core/tpu/
Dtpu_init_mode.cc28 TPUInitMode init_mode TF_GUARDED_BY(init_mode_mutex);
34 void ForceSetTPUInitMode(const TPUInitMode mode) { in ForceSetTPUInitMode()
41 Status SetTPUInitMode(const TPUInitMode mode) { in SetTPUInitMode()
42 if (mode == TPUInitMode::kNone) { in SetTPUInitMode()
48 if (init_mode != TPUInitMode::kNone && mode != init_mode) { in SetTPUInitMode()
61 TPUInitMode GetTPUInitMode() { in GetTPUInitMode()
Dtpu_init_mode.h23 enum class TPUInitMode : int { kNone, kGlobal, kRegular }; enum
33 Status SetTPUInitMode(TPUInitMode mode);
36 TPUInitMode GetTPUInitMode();
41 void ForceSetTPUInitMode(TPUInitMode mode);
/external/tensorflow/tensorflow/core/tpu/graph_rewrite/
Ddistributed_tpu_configuration_rewrite_pass.cc282 is_global_init ? TPUInitMode::kGlobal : TPUInitMode::kRegular)); in Run()