diff --git a/src/operators/kernel/fpga/V1/feed_kernel.cpp b/src/operators/kernel/fpga/V1/feed_kernel.cpp index 161d8c9f0cf22ac79d1367e07b8ba3318a7a7123..9c6468404e334a5a3002f8702d4f3b9818028f77 100644 --- a/src/operators/kernel/fpga/V1/feed_kernel.cpp +++ b/src/operators/kernel/fpga/V1/feed_kernel.cpp @@ -28,8 +28,8 @@ template <> void FeedKernel::Compute(const FeedParam ¶m) { auto input = reinterpret_cast(const_cast(param.InputX())); - auto input_ptr = input->data(); fpga::format_image(input); + auto input_ptr = input->data(); Tensor *output = param.Out(); auto output_ptr = output->data(); diff --git a/src/operators/kernel/fpga/V2/feed_kernel.cpp b/src/operators/kernel/fpga/V2/feed_kernel.cpp index 4092307083bd38346b03857b8e9ec858795f3941..d1a721b5eb02a775498c17adcae84ce560ac1135 100644 --- a/src/operators/kernel/fpga/V2/feed_kernel.cpp +++ b/src/operators/kernel/fpga/V2/feed_kernel.cpp @@ -29,8 +29,8 @@ template <> void FeedKernel::Compute(const FeedParam ¶m) { auto input = reinterpret_cast(const_cast(param.InputX())); - auto input_ptr = input->data(); fpga::format_image(input); + auto input_ptr = input->data(); Tensor *output = param.Out(); auto output_ptr = output->data();