Functions:
device_warning
Any
device (Any) – A device object provided by the user.
throw_exception (bool) – Whether an exception is thrown. Defaults to True.
bool
ValueError – Raises if throw_exception is True.