Skip to content

Commit 73e6058

Browse files
committed
chore: remove reduntant includes in StyleTransfer.cpp
1 parent b6d51d7 commit 73e6058

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

  • packages/react-native-executorch/common/rnexecutorch/models/style_transfer

packages/react-native-executorch/common/rnexecutorch/models/style_transfer/StyleTransfer.cpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
#include "StyleTransfer.h"
22

3-
#include <rnexecutorch/Log.h>
43
#include <rnexecutorch/data_processing/ImageProcessing.h>
54

6-
#include <span>
7-
85
#include <executorch/extension/tensor/tensor.h>
96
#include <opencv2/opencv.hpp>
107

@@ -42,7 +39,7 @@ std::string StyleTransfer::postprocess(const Tensor &tensor,
4239
}
4340

4441
std::string StyleTransfer::generate(std::string imageSource) {
45-
auto [inputTensor, originalSize] =
42+
auto [inputTensor, originalSize] =
4643
imageprocessing::readImageToTensor(imageSource, getAllInputShapes()[0]);
4744

4845
auto forwardResult = BaseModel::forward(inputTensor);

0 commit comments

Comments
 (0)