public void SetRange(int index, SizeTVectorVector values) { CNTKLibPINVOKE.SizeTVectorVector_SetRange(swigCPtr, index, SizeTVectorVector.getCPtr(values)); if (CNTKLibPINVOKE.SWIGPendingException.Pending) { throw CNTKLibPINVOKE.SWIGPendingException.Retrieve(); } }
private static Value _CreateOneHotDouble(uint dimension, SizeTVectorVector oneHotSequences, BoolVector sequenceStartFlags, DeviceDescriptor device) { global::System.IntPtr cPtr = CNTKLibPINVOKE.Value__CreateOneHotDouble__SWIG_7(dimension, SizeTVectorVector.getCPtr(oneHotSequences), 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); }
private static Value _CreateOneHotFloat(uint dimension, SizeTVectorVector oneHotSequences, DeviceDescriptor device, bool readOnly) { global::System.IntPtr cPtr = CNTKLibPINVOKE.Value__CreateOneHotFloat__SWIG_4(dimension, SizeTVectorVector.getCPtr(oneHotSequences), DeviceDescriptor.getCPtr(device), readOnly); Value ret = (cPtr == global::System.IntPtr.Zero) ? null : new Value(cPtr, true); if (CNTKLibPINVOKE.SWIGPendingException.Pending) { throw CNTKLibPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
private static Value _CreateOneHotFloat(NDShape sampleShape, SizeTVectorVector oneHotSequences, BoolVector sequenceStartFlags, DeviceDescriptor device, bool readOnly) { global::System.IntPtr cPtr = CNTKLibPINVOKE.Value__CreateOneHotFloat__SWIG_2(NDShape.getCPtr(sampleShape), SizeTVectorVector.getCPtr(oneHotSequences), BoolVector.getCPtr(sequenceStartFlags), DeviceDescriptor.getCPtr(device), readOnly); Value ret = (cPtr == global::System.IntPtr.Zero) ? null : new Value(cPtr, true); if (CNTKLibPINVOKE.SWIGPendingException.Pending) { throw CNTKLibPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
private static Value _CreateOneHotDouble(NDShape sampleShape, SizeTVectorVector oneHotSequences, DeviceDescriptor device) { global::System.IntPtr cPtr = CNTKLibPINVOKE.Value__CreateOneHotDouble__SWIG_1(NDShape.getCPtr(sampleShape), SizeTVectorVector.getCPtr(oneHotSequences), 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); }
private void _CopyVariableValueTo(Variable outputVariable, SizeTVectorVector sequences) { CNTKLibPINVOKE.Value__CopyVariableValueTo(swigCPtr, Variable.getCPtr(outputVariable), SizeTVectorVector.getCPtr(sequences)); if (CNTKLibPINVOKE.SWIGPendingException.Pending) { throw CNTKLibPINVOKE.SWIGPendingException.Retrieve(); } }
public SizeTVectorVector(SizeTVectorVector other) : this(CNTKLibPINVOKE.new_SizeTVectorVector__SWIG_1(SizeTVectorVector.getCPtr(other)), true) { if (CNTKLibPINVOKE.SWIGPendingException.Pending) { throw CNTKLibPINVOKE.SWIGPendingException.Retrieve(); } }