Example #1
0
 public void SetRange(int index, FloatVectorVector values)
 {
     CNTKLibPINVOKE.FloatVectorVector_SetRange(swigCPtr, index, FloatVectorVector.getCPtr(values));
     if (CNTKLibPINVOKE.SWIGPendingException.Pending)
     {
         throw CNTKLibPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #2
0
 private void _CopyVariableValueToFloat(Variable outputVariable, FloatVectorVector sequences)
 {
     CNTKLibPINVOKE.Value__CopyVariableValueToFloat__SWIG_0(swigCPtr, Variable.getCPtr(outputVariable), FloatVectorVector.getCPtr(sequences));
     if (CNTKLibPINVOKE.SWIGPendingException.Pending)
     {
         throw CNTKLibPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #3
0
        private static Value _CreateDenseFloat(NDShape sampleShape, FloatVectorVector sequences, BoolVector sequenceStartFlags, DeviceDescriptor device)
        {
            global::System.IntPtr cPtr = CNTKLibPINVOKE.Value__CreateDenseFloat__SWIG_3(NDShape.getCPtr(sampleShape), FloatVectorVector.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);
        }
Example #4
0
 public FloatVectorVector(FloatVectorVector other) : this(CNTKLibPINVOKE.new_FloatVectorVector__SWIG_1(FloatVectorVector.getCPtr(other)), true)
 {
     if (CNTKLibPINVOKE.SWIGPendingException.Pending)
     {
         throw CNTKLibPINVOKE.SWIGPendingException.Retrieve();
     }
 }