Example #1
0
        public double TestMinibatch(UnorderedMapVariableMinibatchData arguments)
        {
            double ret = CNTKLibPINVOKE.Evaluator_TestMinibatch__SWIG_2(swigCPtr, UnorderedMapVariableMinibatchData.getCPtr(arguments));

            if (CNTKLibPINVOKE.SWIGPendingException.Pending)
            {
                throw CNTKLibPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #2
0
        public double TestMinibatch(UnorderedMapVariableMinibatchData arguments, DeviceDescriptor computeDevice, bool distributed)
        {
            double ret = CNTKLibPINVOKE.Evaluator_TestMinibatch__SWIG_0(swigCPtr, UnorderedMapVariableMinibatchData.getCPtr(arguments), DeviceDescriptor.getCPtr(computeDevice), distributed);

            if (CNTKLibPINVOKE.SWIGPendingException.Pending)
            {
                throw CNTKLibPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #3
0
        public double TestMinibatch(UnorderedMapVariableMinibatchData arguments, UnorderedMapVariableValuePtr outputsToFetch, DeviceDescriptor computeDevice)
        {
            double ret = CNTKLibPINVOKE.Evaluator_TestMinibatch__SWIG_7(swigCPtr, UnorderedMapVariableMinibatchData.getCPtr(arguments), UnorderedMapVariableValuePtr.getCPtr(outputsToFetch), DeviceDescriptor.getCPtr(computeDevice));

            if (CNTKLibPINVOKE.SWIGPendingException.Pending)
            {
                throw CNTKLibPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #4
0
        private bool _TrainMinibatch(UnorderedMapVariableMinibatchData arguments, UnorderedMapVariableValuePtr outputsToFetch, DeviceDescriptor computeDevice)
        {
            bool ret = CNTKLibPINVOKE.Trainer__TrainMinibatch__SWIG_4(swigCPtr, UnorderedMapVariableMinibatchData.getCPtr(arguments), UnorderedMapVariableValuePtr.getCPtr(outputsToFetch), DeviceDescriptor.getCPtr(computeDevice));

            if (CNTKLibPINVOKE.SWIGPendingException.Pending)
            {
                throw CNTKLibPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #5
0
        private bool _TrainMinibatch(UnorderedMapVariableMinibatchData arguments)
        {
            bool ret = CNTKLibPINVOKE.Trainer__TrainMinibatch__SWIG_1(swigCPtr, UnorderedMapVariableMinibatchData.getCPtr(arguments));

            if (CNTKLibPINVOKE.SWIGPendingException.Pending)
            {
                throw CNTKLibPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
 public UnorderedMapVariableMinibatchData(UnorderedMapVariableMinibatchData other) : this(CNTKLibPINVOKE.new_UnorderedMapVariableMinibatchData__SWIG_1(UnorderedMapVariableMinibatchData.getCPtr(other)), true)
 {
     if (CNTKLibPINVOKE.SWIGPendingException.Pending)
     {
         throw CNTKLibPINVOKE.SWIGPendingException.Retrieve();
     }
 }