Exemple #1
0
        public bool Contains(char value)
        {
            bool ret = CNTKLibPINVOKE.CharVector_Contains(swigCPtr, value);

            return(ret);
        }
Exemple #2
0
 public void Reverse()
 {
     CNTKLibPINVOKE.VariablePairVector_Reverse__SWIG_0(swigCPtr);
 }
Exemple #3
0
        private uint size()
        {
            uint ret = CNTKLibPINVOKE.FunctionPtrVector_size(swigCPtr);

            return(ret);
        }
Exemple #4
0
        private uint size()
        {
            uint ret = CNTKLibPINVOKE.VariablePairVector_size(swigCPtr);

            return(ret);
        }
Exemple #5
0
 private void reserve(uint n)
 {
     CNTKLibPINVOKE.VariablePairVector_reserve(swigCPtr, n);
 }
Exemple #6
0
 public FloatVector() : this(CNTKLibPINVOKE.new_FloatVector__SWIG_0(), true)
 {
 }
Exemple #7
0
 public PairFloatFloat(float t, float u) : this(CNTKLibPINVOKE.new_PairFloatFloat__SWIG_1(t, u), true)
 {
 }
        public bool empty()
        {
            bool ret = CNTKLibPINVOKE.UnorderedMapStringDictionaryValue_empty(swigCPtr);

            return(ret);
        }
 public void Clear()
 {
     CNTKLibPINVOKE.UnorderedMapStringDictionaryValue_Clear(swigCPtr);
 }
 public UnorderedMapStringDictionaryValue(UnorderedMapStringDictionaryValue other) : this(CNTKLibPINVOKE.new_UnorderedMapStringDictionaryValue__SWIG_1(UnorderedMapStringDictionaryValue.getCPtr(other)), true)
 {
     if (CNTKLibPINVOKE.SWIGPendingException.Pending)
     {
         throw CNTKLibPINVOKE.SWIGPendingException.Retrieve();
     }
 }
        private uint size()
        {
            uint ret = CNTKLibPINVOKE.UnorderedMapStringDictionaryValue_size(swigCPtr);

            return(ret);
        }
 public UnorderedMapStringDictionaryValue() : this(CNTKLibPINVOKE.new_UnorderedMapStringDictionaryValue__SWIG_0(), true)
 {
 }
Exemple #13
0
        public bool Remove(char value)
        {
            bool ret = CNTKLibPINVOKE.CharVector_Remove(swigCPtr, value);

            return(ret);
        }
Exemple #14
0
        public int LastIndexOf(char value)
        {
            int ret = CNTKLibPINVOKE.CharVector_LastIndexOf(swigCPtr, value);

            return(ret);
        }
Exemple #15
0
 public NDArrayView(DataType dataType, NDShape viewShape, int[] colStarts, int[] rowIndices, SWIGTYPE_p_void nonZeroValues, uint numNonZeroValues, DeviceDescriptor device) : this(CNTKLibPINVOKE.new_NDArrayView__SWIG_1((int)dataType, NDShape.getCPtr(viewShape), colStarts, rowIndices, SWIGTYPE_p_void.getCPtr(nonZeroValues), numNonZeroValues, DeviceDescriptor.getCPtr(device)), true)
 {
     if (CNTKLibPINVOKE.SWIGPendingException.Pending)
     {
         throw CNTKLibPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 private global::System.IntPtr create_iterator_begin()
 {
     global::System.IntPtr ret = CNTKLibPINVOKE.UnorderedMapStringDictionaryValue_create_iterator_begin(swigCPtr);
     return(ret);
 }
Exemple #17
0
 public NDArrayView(DataType dataType, NDShape viewShape, DeviceDescriptor device) : this(CNTKLibPINVOKE.new_NDArrayView__SWIG_3((int)dataType, NDShape.getCPtr(viewShape), DeviceDescriptor.getCPtr(device)), true)
 {
     if (CNTKLibPINVOKE.SWIGPendingException.Pending)
     {
         throw CNTKLibPINVOKE.SWIGPendingException.Retrieve();
     }
 }
        private string get_next_key(global::System.IntPtr swigiterator)
        {
            string ret = CNTKLibPINVOKE.UnorderedMapStringDictionaryValue_get_next_key(swigCPtr, swigiterator);

            return(ret);
        }
Exemple #19
0
 public PairFloatFloat() : this(CNTKLibPINVOKE.new_PairFloatFloat__SWIG_0(), true)
 {
 }
 private void destroy_iterator(global::System.IntPtr swigiterator)
 {
     CNTKLibPINVOKE.UnorderedMapStringDictionaryValue_destroy_iterator(swigCPtr, swigiterator);
 }
Exemple #21
0
 public void Clear()
 {
     CNTKLibPINVOKE.VariablePairVector_Clear(swigCPtr);
 }
Exemple #22
0
        public TrainingParameterScheduleDouble GetLearningRateSchedule()
        {
            TrainingParameterScheduleDouble ret = new TrainingParameterScheduleDouble(CNTKLibPINVOKE.Learner_GetLearningRateSchedule(swigCPtr), false);

            if (CNTKLibPINVOKE.SWIGPendingException.Pending)
            {
                throw CNTKLibPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemple #23
0
        private uint capacity()
        {
            uint ret = CNTKLibPINVOKE.VariablePairVector_capacity(swigCPtr);

            return(ret);
        }
Exemple #24
0
 public NDArrayView(NDShape viewShape, double[] dataBuffer, uint numBufferElements, DeviceDescriptor device) : this(CNTKLibPINVOKE.new_NDArrayView__SWIG_17(NDShape.getCPtr(viewShape), dataBuffer, numBufferElements, DeviceDescriptor.getCPtr(device)), true)
 {
     if (CNTKLibPINVOKE.SWIGPendingException.Pending)
     {
         throw CNTKLibPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #25
0
 public VariablePairVector() : this(CNTKLibPINVOKE.new_VariablePairVector__SWIG_0(), true)
 {
 }
Exemple #26
0
 public NDArrayView(NDShape viewShape, int[] colStarts, int[] rowIndices, double[] nonZeroValues, uint numNonZeroValues, DeviceDescriptor device) : this(CNTKLibPINVOKE.new_NDArrayView__SWIG_21(NDShape.getCPtr(viewShape), colStarts, rowIndices, nonZeroValues, numNonZeroValues, DeviceDescriptor.getCPtr(device)), true)
 {
     if (CNTKLibPINVOKE.SWIGPendingException.Pending)
     {
         throw CNTKLibPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #27
0
 public void Clear()
 {
     CNTKLibPINVOKE.FunctionPtrVector_Clear(swigCPtr);
 }
Exemple #28
0
 public NDArrayView(NDShape viewShape, int[] colStarts, int[] rowIndices, SWIGTYPE_p_int16_t nonZeroValues, uint numNonZeroValues, DeviceDescriptor device, bool readOnly) : this(CNTKLibPINVOKE.new_NDArrayView__SWIG_24(NDShape.getCPtr(viewShape), colStarts, rowIndices, SWIGTYPE_p_int16_t.getCPtr(nonZeroValues), numNonZeroValues, DeviceDescriptor.getCPtr(device), readOnly), true)
 {
     if (CNTKLibPINVOKE.SWIGPendingException.Pending)
     {
         throw CNTKLibPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #29
0
        private uint capacity()
        {
            uint ret = CNTKLibPINVOKE.FunctionPtrVector_capacity(swigCPtr);

            return(ret);
        }
Exemple #30
0
 public void Reverse()
 {
     CNTKLibPINVOKE.CharVector_Reverse__SWIG_0(swigCPtr);
 }