class_docstr: Describes a device by a unique id and its type. If the device corresponds
  to a GPU its type is 1, otherwise, it is 0
class_docstr_tok: ["Describes","a","device","by","a","unique","id","and","its","type",".","If","the","device","corresponds","to","a","GPU","its","type","is","1",",","otherwise",",","it","is","0"]
docstr: Returns type of device descriptor. 1 if it is a GPU device or 0 if CPU.
  
  Returns:
      int: type
docstr_tok: ["Returns","type","of","device","descriptor",".","1","if","it","is","a","GPU","device","or","0","if","CPU",".","Returns",":","int",":","type"]
code: def type(self):
      """
      Returns type of device descriptor. 1 if it is a GPU device or 0 if CPU.
  
      Returns:
          int: type
      """
      return super(DeviceDescriptor, self).type()
  
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 2 for calling the DeviceDescriptor obj's underlying member method code with example usage: obj.type() and returns: super