Class DSPDeviceInfo
Defined in File context.h
Inheritance Relationships
Base Type
public mindspore::DeviceInfoContext
(Class DeviceInfoContext)
Class Documentation
-
class DSPDeviceInfo : public mindspore::DeviceInfoContext
Derived from DeviceInfoContext, The configuration of the model running on the dsp. This option is invalid for MindSpore Lite.
Public Functions
-
inline virtual enum DeviceType GetDeviceType() const override
Get the type of this DeviceInfoContext.
- 返回
Type of this DeviceInfoContext.
-
void SetDeviceID(uint32_t device_id)
Set device id.
- 参数
device_id – [in] The device id.
-
uint32_t GetDeviceID() const
Get the device id.
- 返回
The device id.
-
inline virtual enum DeviceType GetDeviceType() const override