示例#1
0
 public void SetRange(int index, DeviceDescriptorVector values)
 {
     CNTKLibPINVOKE.DeviceDescriptorVector_SetRange(swigCPtr, index, DeviceDescriptorVector.getCPtr(values));
     if (CNTKLibPINVOKE.SWIGPendingException.Pending)
     {
         throw CNTKLibPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#2
0
 private static void _SetExcludedDevices(DeviceDescriptorVector excluded)
 {
     CNTKLibPINVOKE.DeviceDescriptor__SetExcludedDevices(DeviceDescriptorVector.getCPtr(excluded));
     if (CNTKLibPINVOKE.SWIGPendingException.Pending)
     {
         throw CNTKLibPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#3
0
 public DeviceDescriptorVector(DeviceDescriptorVector other) : this(CNTKLibPINVOKE.new_DeviceDescriptorVector__SWIG_1(DeviceDescriptorVector.getCPtr(other)), true)
 {
     if (CNTKLibPINVOKE.SWIGPendingException.Pending)
     {
         throw CNTKLibPINVOKE.SWIGPendingException.Retrieve();
     }
 }