Home
last modified time | relevance | path

Searched refs:_ps_context (Results 1 – 14 of 14) sorted by relevance

/third_party/mindspore/mindspore/parallel/
D_ps_context.py21 _ps_context = None variable
42 global _ps_context
43 if _ps_context is None:
44 _ps_context = PSContext.get_instance()
45 return _ps_context
D_auto_parallel_context.py21 from mindspore.parallel._ps_context import _is_role_pserver
/third_party/mindspore/mindspore/common/
Dparameter.py30 from ..parallel._ps_context import _is_role_worker, _is_role_pserver, _is_role_sched, _clone_hash_t…
31 from ..parallel._ps_context import _reinsert_hash_table_size
32 from ..parallel._ps_context import _insert_weight_init_info, _insert_accumu_init_info
Dapi.py31 from ..parallel._ps_context import _is_role_pserver
/third_party/mindspore/tests/st/ps/cmp_sparse_embedding/
Dtest_cmp_sparse_embedding.py29 from mindspore.parallel._ps_context import _is_role_pserver, _is_role_worker
/third_party/mindspore/tests/st/ps/multi_full_ps/
Dtest_multi_full_ps.py26 from mindspore.parallel._ps_context import _is_role_pserver
/third_party/mindspore/mindspore/communication/
Dmanagement.py17 from mindspore.parallel._ps_context import _is_role_pserver, _is_role_sched
D_comm_helper.py17 from mindspore.parallel._ps_context import _is_role_pserver, _is_role_sched
/third_party/mindspore/mindspore/nn/layer/
Dembedding.py26 from mindspore.parallel._ps_context import _is_role_worker, _get_ps_context
27 from mindspore.parallel._ps_context import _insert_hash_table_size, _set_cache_enable, _set_rank_id
Dthor_layer.py28 from mindspore.parallel._ps_context import _is_role_worker, _get_ps_context
/third_party/mindspore/mindspore/
Dcontext.py31 from mindspore.parallel._ps_context import _set_ps_context, _get_ps_context, _reset_ps_context
/third_party/mindspore/mindspore/train/callback/
D_checkpoint.py28 from mindspore.parallel._ps_context import _is_role_pserver, _get_ps_mode_rank
/third_party/mindspore/mindspore/train/
Dmodel.py31 from ..parallel._ps_context import _is_role_pserver, _is_role_sched
/third_party/mindspore/mindspore/dataset/engine/
Ddatasets.py52 from mindspore.parallel._ps_context import _is_role_pserver, _is_role_sched