'Returns the device type of current context.
Examples
>>> mx.context.current_context().device_type
\'cpu\'
>>> mx.current_context().device_type
\'cpu\'
Returns
device_type : str'

@property
def device_type(self):

    return Context.devtype2str[self.device_typeid]
