diff --git a/test/test_helper.h b/test/test_helper.h index 6b5d8335db0a4e986a9a3512c59b9fb711751b47..029ed9742f6d59702718a0ca03a2b2ba62da514c 100644 --- a/test/test_helper.h +++ b/test/test_helper.h @@ -29,8 +29,8 @@ static const std::string g_resnet = "../models/image_classification_resnet.inference.model"; static const std::string g_test_image_1x3x224x224 = "../images/test_image_1x3x224x224_float"; -using paddle_mobile::framework::Tensor; using paddle_mobile::framework::DDim; +using paddle_mobile::framework::Tensor; template void SetupTensor(paddle_mobile::framework::Tensor *input, paddle_mobile::framework::DDim dims, T lower, T upper) {