public VariablePairVector(VariablePairVector other) : this(CNTKLibPINVOKE.new_VariablePairVector__SWIG_1(VariablePairVector.getCPtr(other)), true) { if (CNTKLibPINVOKE.SWIGPendingException.Pending) { throw CNTKLibPINVOKE.SWIGPendingException.Retrieve(); } }
public VariablePairVectorEnumerator(VariablePairVector collection) { collectionRef = collection; currentIndex = -1; currentObject = null; currentSize = collectionRef.Count; }
public void SetRange(int index, VariablePairVector values) { CNTKLibPINVOKE.VariablePairVector_SetRange(swigCPtr, index, VariablePairVector.getCPtr(values)); if (CNTKLibPINVOKE.SWIGPendingException.Pending) { throw CNTKLibPINVOKE.SWIGPendingException.Retrieve(); } }
public VariablePairVector BlockArgumentsMapping() { VariablePairVector ret = new VariablePairVector(CNTKLibPINVOKE.Function_BlockArgumentsMapping(swigCPtr), true); if (CNTKLibPINVOKE.SWIGPendingException.Pending) { throw CNTKLibPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static VariablePairVector Repeat(VariablePair value, int count) { global::System.IntPtr cPtr = CNTKLibPINVOKE.VariablePairVector_Repeat(VariablePair.getCPtr(value), count); VariablePairVector ret = (cPtr == global::System.IntPtr.Zero) ? null : new VariablePairVector(cPtr, true); if (CNTKLibPINVOKE.SWIGPendingException.Pending) { throw CNTKLibPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public VariablePairVector GetRange(int index, int count) { global::System.IntPtr cPtr = CNTKLibPINVOKE.VariablePairVector_GetRange(swigCPtr, index, count); VariablePairVector ret = (cPtr == global::System.IntPtr.Zero) ? null : new VariablePairVector(cPtr, true); if (CNTKLibPINVOKE.SWIGPendingException.Pending) { throw CNTKLibPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(VariablePairVector obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }