コード例 #1
0
    public double TrainClassImageSet(int nrOfEpochs, double learnRate, double momentum, ClassImageSet_Byte cis, ref double meanError)
    {
        double ret = VisionLabPINVOKE.BPN_ImageClassifier_Byte_TrainClassImageSet(swigCPtr, nrOfEpochs, learnRate, momentum, ClassImageSet_Byte.getCPtr(cis), ref meanError);

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