diff --git a/llvm/projects/hpvm-tensor-rt/dnn_sources/src/test_ops.cc b/llvm/projects/hpvm-tensor-rt/dnn_sources/src/test_ops.cc index e57adeadb414006f912cb26c16d6c4c577b8e542..5c48b3b01f2641576e6ac725ae0a81f03d6a5dbb 100644 --- a/llvm/projects/hpvm-tensor-rt/dnn_sources/src/test_ops.cc +++ b/llvm/projects/hpvm-tensor-rt/dnn_sources/src/test_ops.cc @@ -831,16 +831,19 @@ void testSamplingCalls(void* input, void* filter, int stride_h, int stride_w, int skip_every){ - for (int i = 0; i < 2; i++){ + //for (int i = 0; i < 2; i++){ - float interpolation_rate; - if (i == 0) - interpolation_rate = 1.0; - else - interpolation_rate = 0.5; - - for (int offset = 0; offset < 2; offset++){ + // float interpolation_rate; + // if (i == 0) + // interpolation_rate = 1.0; + // else + // interpolation_rate = 0.5; + + float interpolation_rate = 1.0; + for (int offset = 0; offset < 2; offset++){ + + printf("\n\n\n\**Test -- pad_h = %d pad_w = %d stride_h = %d stride_w = %d skip_every = %d offset= %d interpolation_rate = %f \n\n", pad_h, pad_w, stride_h, stride_w, skip_every, offset, interpolation_rate); @@ -897,10 +900,6 @@ void testSamplingCalls(void* input, void* filter, printTensorValues(res_half); } - - - } - printf ("\n\n\n\ --- End of Test \n\n\n"); @@ -1115,7 +1114,7 @@ int main(){ //testTensorConv(); //testTensorError(); - testQuantization(); + //testQuantization(); //testTensorConv(); //testTensorGroupedConv(); @@ -1148,16 +1147,16 @@ int main(){ //testSampling3(); - // testSampling_3_3(); + testSampling_3_3(); - //- testSampling_1_1(); + testSampling_1_1(); //testQuantization(); - testPromiseError(); + // testPromiseError(); stopProfiling();