Example #1
0
 public void SetRange(int index, DoubleVectorVector values)
 {
     CNTKLibPINVOKE.DoubleVectorVector_SetRange(swigCPtr, index, DoubleVectorVector.getCPtr(values));
     if (CNTKLibPINVOKE.SWIGPendingException.Pending)
     {
         throw CNTKLibPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #2
0
 private void _CopyVariableValueToDouble(Variable outputVariable, DoubleVectorVector sequences)
 {
     CNTKLibPINVOKE.Value__CopyVariableValueToDouble__SWIG_0(swigCPtr, Variable.getCPtr(outputVariable), DoubleVectorVector.getCPtr(sequences));
     if (CNTKLibPINVOKE.SWIGPendingException.Pending)
     {
         throw CNTKLibPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #3
0
 public DoubleVectorVector(DoubleVectorVector other) : this(CNTKLibPINVOKE.new_DoubleVectorVector__SWIG_1(DoubleVectorVector.getCPtr(other)), true)
 {
     if (CNTKLibPINVOKE.SWIGPendingException.Pending)
     {
         throw CNTKLibPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #4
0
        private static Value _CreateDenseDouble(NDShape sampleShape, DoubleVectorVector sequences, BoolVector sequenceStartFlags, DeviceDescriptor device)
        {
            global::System.IntPtr cPtr = CNTKLibPINVOKE.Value__CreateDenseDouble__SWIG_3(NDShape.getCPtr(sampleShape), DoubleVectorVector.getCPtr(sequences), BoolVector.getCPtr(sequenceStartFlags), DeviceDescriptor.getCPtr(device));
            Value ret = (cPtr == global::System.IntPtr.Zero) ? null : new Value(cPtr, true);

            if (CNTKLibPINVOKE.SWIGPendingException.Pending)
            {
                throw CNTKLibPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }