예제 #1
0
 public HTKFeatureConfigurationVector(HTKFeatureConfigurationVector other) : this(CNTKLibPINVOKE.new_HTKFeatureConfigurationVector__SWIG_1(HTKFeatureConfigurationVector.getCPtr(other)), true)
 {
     if (CNTKLibPINVOKE.SWIGPendingException.Pending)
     {
         throw CNTKLibPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #2
0
 public HTKFeatureConfigurationVectorEnumerator(HTKFeatureConfigurationVector collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
예제 #3
0
 public void SetRange(int index, HTKFeatureConfigurationVector values)
 {
     CNTKLibPINVOKE.HTKFeatureConfigurationVector_SetRange(swigCPtr, index, HTKFeatureConfigurationVector.getCPtr(values));
     if (CNTKLibPINVOKE.SWIGPendingException.Pending)
     {
         throw CNTKLibPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #4
0
        public static HTKFeatureConfigurationVector Repeat(HTKFeatureConfiguration value, int count)
        {
            global::System.IntPtr         cPtr = CNTKLibPINVOKE.HTKFeatureConfigurationVector_Repeat(HTKFeatureConfiguration.getCPtr(value), count);
            HTKFeatureConfigurationVector ret  = (cPtr == global::System.IntPtr.Zero) ? null : new HTKFeatureConfigurationVector(cPtr, true);

            if (CNTKLibPINVOKE.SWIGPendingException.Pending)
            {
                throw CNTKLibPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #5
0
        public HTKFeatureConfigurationVector GetRange(int index, int count)
        {
            global::System.IntPtr         cPtr = CNTKLibPINVOKE.HTKFeatureConfigurationVector_GetRange(swigCPtr, index, count);
            HTKFeatureConfigurationVector ret  = (cPtr == global::System.IntPtr.Zero) ? null : new HTKFeatureConfigurationVector(cPtr, true);

            if (CNTKLibPINVOKE.SWIGPendingException.Pending)
            {
                throw CNTKLibPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #6
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(HTKFeatureConfigurationVector obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }