public Value(NDArrayView data, NDMask mask) : this(CNTKLibPINVOKE.new_Value__SWIG_1(NDArrayView.getCPtr(data), NDMask.getCPtr(mask)), true) { if (CNTKLibPINVOKE.SWIGPendingException.Pending) { throw CNTKLibPINVOKE.SWIGPendingException.Retrieve(); } }
public void CopyFrom(NDMask source) { CNTKLibPINVOKE.NDMask_CopyFrom(swigCPtr, NDMask.getCPtr(source)); if (CNTKLibPINVOKE.SWIGPendingException.Pending) { throw CNTKLibPINVOKE.SWIGPendingException.Retrieve(); } }
private NDMask _Mask() { global::System.IntPtr cPtr = CNTKLibPINVOKE.Value__Mask(swigCPtr); NDMask ret = (cPtr == global::System.IntPtr.Zero) ? null : new NDMask(cPtr, true); if (CNTKLibPINVOKE.SWIGPendingException.Pending) { throw CNTKLibPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public NDMask DeepClone() { global::System.IntPtr cPtr = CNTKLibPINVOKE.NDMask_DeepClone__SWIG_1(swigCPtr); NDMask ret = (cPtr == global::System.IntPtr.Zero) ? null : new NDMask(cPtr, true); if (CNTKLibPINVOKE.SWIGPendingException.Pending) { throw CNTKLibPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(NDMask obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }