コード例 #1
0
        //javadoc: SVMSGD::load(filepath)
        public static SVMSGD load(string filepath)
        {
#if UNITY_PRO_LICENSE || ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
            SVMSGD retVal = SVMSGD.__fromPtr__(ml_SVMSGD_load_11(filepath));

            return(retVal);
#else
            return(null);
#endif
        }
コード例 #2
0
        //
        // C++: static Ptr_SVMSGD cv::ml::SVMSGD::create()
        //

        //javadoc: SVMSGD::create()
        public static SVMSGD create()
        {
#if UNITY_PRO_LICENSE || ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
            SVMSGD retVal = SVMSGD.__fromPtr__(ml_SVMSGD_create_10());

            return(retVal);
#else
            return(null);
#endif
        }