Home
last modified time | relevance | path

Searched refs:_get_device_num (Results 1 – 17 of 17) sorted by relevance

/third_party/mindspore/mindspore/train/
Ddataset_helper.py23 from ..parallel._utils import _get_device_num, _get_global_rank, _need_to_full, _to_full_shapes, _g…
163 device_num = _get_device_num() // _get_pipeline_stages()
414 batch_expand_num = _get_device_num() // _get_pipeline_stages()
449 device_num = _get_device_num() // _get_pipeline_stages()
494 self.device_num = _get_device_num()
Dmodel.py28 from ..parallel._utils import _get_parallel_mode, _get_device_num, _get_global_rank, \
148 self._device_number = _get_device_num()
/third_party/mindspore/tests/st/networks/models/resnet50/src_thor/
Ddataset_helper.py17 from mindspore.parallel._utils import _get_device_num, _get_parallel_mode, _to_full_shapes
126 device_num = _get_device_num()
Dmodel_thor.py30 from mindspore.parallel._utils import _get_parallel_mode, _get_device_num, _get_global_rank, \
150 self._device_number = _get_device_num()
Dthor.py24 from mindspore.parallel._utils import _get_device_num, _get_gradients_mean
239 degree = _get_device_num()
/third_party/mindspore/tests/st/fl/hybrid_lenet/src/
Dcell_wrapper.py17 from mindspore.parallel._utils import (_get_device_num, _get_gradients_mean,
94 degree = _get_device_num()
/third_party/mindspore/mindspore/train/train_thor/
Ddataset_helper.py22 from mindspore.parallel._utils import _get_device_num, _need_to_full, _to_full_shapes
170 device_num = _get_device_num()
/third_party/mindspore/mindspore/parallel/
D_utils.py177 def _get_device_num(): function
317 local_rank = int(_get_global_rank() % (_get_device_num() / _get_pipeline_stages()))
/third_party/mindspore/mindspore/nn/wrap/
Dcell_wrapper.py18 from mindspore.parallel._utils import (_get_device_num, _get_gradients_mean,
349 self.degree = _get_device_num()
/third_party/mindspore/tests/st/model_zoo_tests/wide_and_deep/python_file_for_ci/
Dwide_and_deep.py25 from mindspore.parallel._utils import _get_device_num, _get_parallel_mode, _get_gradients_mean
298 degree = _get_device_num()
/third_party/mindspore/mindspore/boost/
Dboost_cell_wrapper.py19 from mindspore.parallel._utils import _get_global_rank, _get_device_num, _get_gradients_mean
160 self.degree = _get_device_num()
/third_party/mindspore/tests/st/model_zoo_tests/DeepFM/src/
Ddeepfm.py30 from mindspore.parallel._utils import _get_device_num, _get_parallel_mode, _get_gradients_mean
313 degree = _get_device_num()
/third_party/mindspore/mindspore/common/
Dapi.py32 from ..parallel._utils import _get_device_num, _get_global_rank, _need_to_full, _check_full_batch, …
542 args_full = _to_full_tensor(args, _get_device_num(), _get_global_rank())
/third_party/mindspore/mindspore/nn/optim/
Doptimizer.py32 from mindspore.parallel._utils import _get_global_rank, _get_device_num, _get_parallel_mode
223 self.dev_num = _get_device_num()
Dthor.py26 from mindspore.parallel._utils import _get_device_num, _get_gradients_mean
450 degree = _get_device_num()
768 degree = _get_device_num()
/third_party/mindspore/mindspore/nn/
Dcell.py1451 from mindspore.parallel._utils import _get_global_rank, _get_device_num
1453 device_num = _get_device_num()
/third_party/mindspore/mindspore/dataset/engine/
Ddatasets.py53 from mindspore.parallel._utils import _get_device_num
3724 if platform.system() != "Windows" and _get_device_num() >= 1:
3725 shm_estimate_usage = _get_device_num() * num_worker * num_queues * \