diff --git a/src/fpga/api/fpga_api.cpp b/src/fpga/api.cpp similarity index 98% rename from src/fpga/api/fpga_api.cpp rename to src/fpga/api.cpp index 1a0fb3839e753d77aa13e24b900be893e7ab52c9..477d241e93fc05a7197f84b495f0faf0b3badbef 100644 --- a/src/fpga/api/fpga_api.cpp +++ b/src/fpga/api.cpp @@ -27,7 +27,7 @@ limitations under the License. */ #include #include -#include "fpga/api/fpga_api.h" +#include "api.h" namespace paddle_mobile { namespace fpga { diff --git a/src/fpga/api/fpga_api.h b/src/fpga/api.h similarity index 100% rename from src/fpga/api/fpga_api.h rename to src/fpga/api.h diff --git a/src/fpga/fpga_quantilization.cpp b/src/fpga/quantization.cpp similarity index 98% rename from src/fpga/fpga_quantilization.cpp rename to src/fpga/quantization.cpp index e8faf792b9b3050ff2d5b82978154004c1d78bfa..e28142f6cc697322143eeaf332d2085e9256f961 100644 --- a/src/fpga/fpga_quantilization.cpp +++ b/src/fpga/quantization.cpp @@ -12,7 +12,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ -#include "fpga/fpga_quantilization.h" +#include "fpga/quantization.h" #include namespace paddle_mobile { diff --git a/src/fpga/fpga_quantilization.h b/src/fpga/quantization.h similarity index 100% rename from src/fpga/fpga_quantilization.h rename to src/fpga/quantization.h diff --git a/src/memory/t_malloc.cpp b/src/memory/t_malloc.cpp index 8902543347b2db7caee7126b2a28fa460ca741db..09bff80af723161dfaf31d58f3ec24528ef1ccc4 100644 --- a/src/memory/t_malloc.cpp +++ b/src/memory/t_malloc.cpp @@ -18,7 +18,7 @@ limitations under the License. */ #ifdef PADDLE_MOBILE_FPGA -#include "fpga/api/fpga_api.h" +#include "fpga/api.h" #endif diff --git a/src/operators/kernel/fpga/conv_add_bn_kernel.cpp b/src/operators/kernel/fpga/conv_add_bn_kernel.cpp index e624104acf0561470e8aac827c233d0d2d1d9f66..af52b10e3b1f45024c3a2aa480a2f3a10e16b4cc 100644 --- a/src/operators/kernel/fpga/conv_add_bn_kernel.cpp +++ b/src/operators/kernel/fpga/conv_add_bn_kernel.cpp @@ -15,8 +15,8 @@ limitations under the License. */ #ifdef FUSION_CONVADDBN_OP #include "operators/kernel/conv_add_bn_kernel.h" -#include "fpga/api/fpga_api.h" -#include "fpga/fpga_quantilization.h" +#include "fpga/api.h" +#include "fpga/quantization.h" namespace paddle_mobile { namespace operators { diff --git a/src/operators/kernel/fpga/conv_add_bn_relu_kernel.cpp b/src/operators/kernel/fpga/conv_add_bn_relu_kernel.cpp index d6fee838390f0efe38a539c3a9e8fc09d07a68d0..34deb2d6587dc77cd328c1fd17758622d04121b2 100644 --- a/src/operators/kernel/fpga/conv_add_bn_relu_kernel.cpp +++ b/src/operators/kernel/fpga/conv_add_bn_relu_kernel.cpp @@ -15,7 +15,7 @@ limitations under the License. */ #ifdef FUSION_CONVADDBNRELU_OP #include "operators/kernel/conv_add_bn_relu_kernel.h" -#include "fpga/fpga_quantilization.h" +#include "fpga/quantization.h" namespace paddle_mobile { namespace operators { diff --git a/src/operators/kernel/fpga/conv_add_relu_kernel.cpp b/src/operators/kernel/fpga/conv_add_relu_kernel.cpp index fd6379d8f3021d9d859d81f75aaba9ad761dd6ca..01e6bb07368ba5e2ff2ac741b51f2c325b1fe9d3 100644 --- a/src/operators/kernel/fpga/conv_add_relu_kernel.cpp +++ b/src/operators/kernel/fpga/conv_add_relu_kernel.cpp @@ -15,7 +15,7 @@ limitations under the License. */ #ifdef FUSION_CONVADDRELU_OP #include "operators/kernel/conv_add_relu_kernel.h" -#include "fpga/fpga_quantilization.h" +#include "fpga/quantization.h" namespace paddle_mobile { namespace operators { diff --git a/src/operators/kernel/fpga/conv_bn_kernel.cpp b/src/operators/kernel/fpga/conv_bn_kernel.cpp index 559b948b7b268181dcf75a4eaa40cfd9c78ef0d6..70869a526f1fe92ee8d3223250eb62bea3d9fbc0 100644 --- a/src/operators/kernel/fpga/conv_bn_kernel.cpp +++ b/src/operators/kernel/fpga/conv_bn_kernel.cpp @@ -15,8 +15,8 @@ limitations under the License. */ #ifdef FUSION_CONVBN_OP #include "operators/kernel/conv_bn_kernel.h" -#include "fpga/api/fpga_api.h" -#include "fpga/fpga_quantilization.h" +#include "fpga/api.h" +#include "fpga/quantization.h" namespace paddle_mobile { namespace operators { diff --git a/src/operators/kernel/fpga/conv_bn_relu_kernel.cpp b/src/operators/kernel/fpga/conv_bn_relu_kernel.cpp index cfdc85b091017aebaf99d806e6e9104cbcbe05bd..9261c78657db185ffcf8271a913ae86ecc8fa3a6 100644 --- a/src/operators/kernel/fpga/conv_bn_relu_kernel.cpp +++ b/src/operators/kernel/fpga/conv_bn_relu_kernel.cpp @@ -15,7 +15,7 @@ limitations under the License. */ #ifdef FUSION_CONVBNRELU_OP #include "operators/kernel/conv_bn_relu_kernel.h" -#include "fpga/fpga_quantilization.h" +#include "fpga/quantization.h" namespace paddle_mobile { namespace operators { diff --git a/src/operators/kernel/fpga/fc_relu_kernel.cpp b/src/operators/kernel/fpga/fc_relu_kernel.cpp index d3683d321c5b31d6e6b3ff96ef8414560fc7ca49..09ac91857af5141dc029845b51be4d0c119979c3 100644 --- a/src/operators/kernel/fpga/fc_relu_kernel.cpp +++ b/src/operators/kernel/fpga/fc_relu_kernel.cpp @@ -13,8 +13,9 @@ See the License for the specific language governing permissions and limitations under the License. */ #ifdef FUSION_FCRELU_OP #include "operators/kernel/fc_relu_kernel.h" -#include "fpga/api/fpga_api.h" -#include "fpga/fpga_quantilization.h" + +#include "fpga/api.h" +#include "fpga/quantization.h" namespace paddle_mobile { namespace operators { diff --git a/src/operators/kernel/fpga/softmax_kernel.cpp b/src/operators/kernel/fpga/softmax_kernel.cpp index 95bcb28f9c30481bd234d83ab44b415d59388475..6424de8afe705e13534a3452fc04890c0f750b9f 100644 --- a/src/operators/kernel/fpga/softmax_kernel.cpp +++ b/src/operators/kernel/fpga/softmax_kernel.cpp @@ -17,7 +17,7 @@ limitations under the License. */ #include "../softmax_kernel.h" #include "../central-arm-func/softmax_arm_func.h" #include "common/types.h" -#include "fpga/api/fpga_api.h" +#include "fpga/api.h" #include "operators/math/softmax.h" namespace paddle_mobile { namespace operators { diff --git a/src/operators/op_param.h b/src/operators/op_param.h index c39d9657bc50c6dd708f0cd9fd5573642d417f21..1ed5b4c8a8d3666236dadacb6d92f66f9e74889a 100644 --- a/src/operators/op_param.h +++ b/src/operators/op_param.h @@ -23,7 +23,7 @@ limitations under the License. */ #include "framework/tensor.h" #include "framework/variable.h" #ifdef PADDLE_MOBILE_FPGA -#include "fpga/api/fpga_api.h" +#include "fpga/api.h" #endif namespace paddle_mobile {