Home
last modified time | relevance | path

Searched refs:set_device_num (Results 1 – 5 of 5) sorted by relevance

/third_party/mindspore/mindspore/parallel/
D_auto_parallel_context.py62 def set_device_num(self, device_num): member in _AutoParallelContext
75 self._context_handle.set_device_num(device_num)
632 "device_num": auto_parallel_context().set_device_num,
/third_party/mindspore/tests/ut/python/parallel/
Dtest_set_auto_parallel_context.py41 auto_parallel_context().set_device_num(4)
/third_party/mindspore/mindspore/ccsrc/frontend/parallel/
Dcontext.h77 void set_device_num(int64_t device_num);
Dcontext.cc80 void ParallelContext::set_device_num(int64_t device_num) { in set_device_num() function in mindspore::parallel::ParallelContext
/third_party/mindspore/mindspore/ccsrc/pipeline/jit/
Dinit.cc138 .def("set_device_num", &ParallelContext::set_device_num, "Set device num.") in PYBIND11_MODULE()