code: def use_default_device():
      """
      Freezes the default device of the current CNTK process disallowing further
      changes through calls to :func:`try_set_default_device`. This default
      device will used for all CNTK operations where a device needs to be
      specified and where none was explicitly provided. If no device has been
      specified with a call to :func:`try_set_default_device`, on the first
      invocation, this methods will auto-select one of the available (non-locked)
      devices as the default.
  
      Returns:
          :class:`~cntk.device.DeviceDescriptor`: descriptor of the globally
          default device
      """
      return cntk_py.DeviceDescriptor.use_default_device()
  
file_path: CNTK/bindings/python/cntk/device.py
imports: from enum import Enum, unique
  from .None import cntk_py
  from cntk.internal import typemap
label_desc: Use image node_id 4 for calling a global function with example usage: use_default_device() and returns: cntk_py