You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
1.1 KiB
C
37 lines
1.1 KiB
C
void test_svm_linear_predict_f32();
|
|
void test_svm_polynomial_predict_f32();
|
|
void test_svm_rbf_predict_f32();
|
|
void test_svm_sigmoid_predict_f32();
|
|
|
|
// Pattern IDs
|
|
static const int SAMPLES1_F32_ID=0;
|
|
static const int PARAMS1_F32_ID=1;
|
|
static const int DIMS1_S16_ID=2;
|
|
static const int REF1_S32_ID=3;
|
|
static const int SAMPLES2_F32_ID=4;
|
|
static const int PARAMS2_F32_ID=5;
|
|
static const int DIMS2_S16_ID=6;
|
|
static const int REF2_S32_ID=7;
|
|
static const int SAMPLES3_F32_ID=8;
|
|
static const int PARAMS3_F32_ID=9;
|
|
static const int DIMS3_S16_ID=10;
|
|
static const int REF3_S32_ID=11;
|
|
static const int SAMPLES4_F32_ID=12;
|
|
static const int PARAMS4_F32_ID=13;
|
|
static const int DIMS4_S16_ID=14;
|
|
static const int REF4_S32_ID=15;
|
|
static const int SAMPLES5_F32_ID=16;
|
|
static const int PARAMS5_F32_ID=17;
|
|
static const int DIMS5_S16_ID=18;
|
|
static const int REF5_S32_ID=19;
|
|
|
|
// Output IDs
|
|
static const int OUT_S32_ID=0;
|
|
|
|
// Test IDs
|
|
static const int TEST_SVM_LINEAR_PREDICT_F32_1=1;
|
|
static const int TEST_SVM_POLYNOMIAL_PREDICT_F32_2=2;
|
|
static const int TEST_SVM_RBF_PREDICT_F32_3=3;
|
|
static const int TEST_SVM_SIGMOID_PREDICT_F32_4=4;
|
|
static const int TEST_SVM_RBF_PREDICT_F32_5=5;
|