Home
last modified time | relevance | path

Searched refs:kAscend310 (Results 1 – 9 of 9) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/minddata/dataset/api/
Dexecute.cc59 if (device_type_ == MapTargetDevice::kAscend310) { in InitResource()
160 if (device_type_ == MapTargetDevice::kAscend310) { in ~Execute()
191 …{MapTargetDevice::kCpu, "kCpu"}, {MapTargetDevice::kGpu, "kGpu"}, {MapTargetDevice::kAscend310, "k… in operator ()()
239 …MapTargetDevice::kAscend310) { // Ascend310 case, where we must set Ascend resource on each opera… in operator ()()
287 …{MapTargetDevice::kCpu, "kCpu"}, {MapTargetDevice::kGpu, "kGpu"}, {MapTargetDevice::kAscend310, "k… in operator ()()
335 …MapTargetDevice::kAscend310) { // Ascend310 case, where we must set Ascend resource on each opera… in operator ()()
531 if (device_type_ == MapTargetDevice::kAscend310) { in AippCfgGenerator()
612 } else if (device_type_ == MapTargetDevice::kAscend310) { in ParseTransforms()
626 if (device_type_ != MapTargetDevice::kCpu && device_type_ != MapTargetDevice::kAscend310 && in ValidateDevice()
Dvision.cc189 if (env == MapTargetDevice::kAscend310) { in Parse()
275 if (env == MapTargetDevice::kAscend310) { in Parse()
300 if (env == MapTargetDevice::kAscend310) { in Parse()
322 if (env == MapTargetDevice::kAscend310) { in Parse()
335 if (env == MapTargetDevice::kAscend310) { in Parse()
406 if (env == MapTargetDevice::kAscend310) { in Parse()
844 if (env == MapTargetDevice::kAscend310) { in Parse()
/third_party/mindspore/tests/st/cpp/dataset/
Dtest_de.cc114 mindspore::dataset::Execute Transform(decode_resize_crop, MapTargetDevice::kAscend310, device_id); in TEST_F()
171 mindspore::dataset::Execute Transform(trans_list, MapTargetDevice::kAscend310, device_id); in TEST_F()
223 mindspore::dataset::Execute Transform(trans_list, MapTargetDevice::kAscend310, device_id); in TEST_F()
/third_party/mindspore/mindspore/lite/micro/example/mnist_stm32f746/mnist_stm32f746/include/api/
Dcontext.h32 kAscend310, enumerator
125 enum DeviceType GetDeviceType() const override { return DeviceType::kAscend310; }; in GetDeviceType()
/third_party/mindspore/include/api/
Dcontext.h32 kAscend310, enumerator
289 enum DeviceType GetDeviceType() const override { return DeviceType::kAscend310; }; in GetDeviceType()
/third_party/mindspore/tests/st/cpp/model/
Dtest_zero_copy.cc78 …mindspore::dataset::Execute Transform({decode, resize, center_crop}, MapTargetDevice::kAscend310, … in TEST_F()
126 …mindspore::dataset::Execute Transform({decode, resize, center_crop}, MapTargetDevice::kAscend310, … in TEST_F()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/include/dataset/
Dconstants.h57 kAscend310 ///< Ascend310 Device. enumerator
/third_party/mindspore/mindspore/ccsrc/cxx_api/model/
Dmodel.cc26 …{kCPU, "CPU"}, {kGPU, "GPU"}, {kKirinNPU, "KirinGPU"}, {kAscend910, "Ascend910"}, {kAscend310, "As… in GetDeviceTypeString()
/third_party/mindspore/mindspore/lite/src/cxx_api/
Dconverters.cc107 } else if (device->GetDeviceType() == kAscend310) { in Convert()