code: def test_device_kind():
      assert cpu().type() == DeviceKind.CPU
      assert cpu().type() != DeviceKind.GPU
  
      for d in all_devices():
          if d.type() != cntk_py.DeviceKind_GPU:
              continue
          assert d.type() == DeviceKind.GPU
          assert d.type() != DeviceKind.CPU
  
label_desc: Use image node_id 1 for calling a global function with example usage: test_device_kind() without return types