Searched refs:kAscend310 (Results 1 – 9 of 9) sorted by relevance
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/api/ |
D | execute.cc | 59 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()
|
D | vision.cc | 189 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/ |
D | test_de.cc | 114 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/ |
D | context.h | 32 kAscend310, enumerator 125 enum DeviceType GetDeviceType() const override { return DeviceType::kAscend310; }; in GetDeviceType()
|
/third_party/mindspore/include/api/ |
D | context.h | 32 kAscend310, enumerator 289 enum DeviceType GetDeviceType() const override { return DeviceType::kAscend310; }; in GetDeviceType()
|
/third_party/mindspore/tests/st/cpp/model/ |
D | test_zero_copy.cc | 78 …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/ |
D | constants.h | 57 kAscend310 ///< Ascend310 Device. enumerator
|
/third_party/mindspore/mindspore/ccsrc/cxx_api/model/ |
D | model.cc | 26 …{kCPU, "CPU"}, {kGPU, "GPU"}, {kKirinNPU, "KirinGPU"}, {kAscend910, "Ascend910"}, {kAscend310, "As… in GetDeviceTypeString()
|
/third_party/mindspore/mindspore/lite/src/cxx_api/ |
D | converters.cc | 107 } else if (device->GetDeviceType() == kAscend310) { in Convert()
|