Skip to content

Commit 79940f6

Browse files
committed
style: apply clang-format fixes
1 parent 664e77d commit 79940f6

File tree

4 files changed

+2
-5
lines changed

4 files changed

+2
-5
lines changed

src/core/include/openvino/core/preprocess/preprocess_steps.hpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,12 +156,10 @@ class OPENVINO_API PreProcessSteps final {
156156
/// \return Reference to 'this' to allow chaining with other calls in a builder-like manner.
157157
PreProcessSteps& resize(ResizeAlgorithm alg);
158158

159-
// [ADDED NEW FEATURE]
160159
/// \brief Flips the image spatially.
161160
/// \param mode The direction to flip (HORIZONTAL or VERTICAL).
162161
/// \return Reference to the current 'PreProcessSteps' object.
163162
PreProcessSteps& flip(FlipMode mode);
164-
// [END NEW FEATURE]
165163

166164
/// \brief Crop input tensor between begin and end coordinates. Under the hood, inserts `opset8::Slice` operation to
167165
/// execution graph. It is recommended to use to together with `ov::preprocess::InputTensorInfo::set_shape` to set

src/core/src/preprocess/pre_post_process.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -471,12 +471,10 @@ PreProcessSteps& PreProcessSteps::resize(ResizeAlgorithm alg) {
471471
return *this;
472472
}
473473

474-
// [ADDED NEW FEATURE]
475474
PreProcessSteps& PreProcessSteps::flip(FlipMode mode) {
476475
m_impl->add_flip_impl(mode);
477476
return *this;
478477
}
479-
// [END NEW FEATURE]
480478

481479
PreProcessSteps& PreProcessSteps::crop(const std::vector<int>& begin, const std::vector<int>& end) {
482480
m_impl->add_crop_impl(begin, end);

src/core/src/preprocess/preprocess_steps_impl.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -920,4 +920,4 @@ void PreStepsList::add_flip_impl(FlipMode mode) {
920920
name);
921921
}
922922
} // namespace preprocess
923-
} // namespace ov
923+
} // namespace ov

src/core/tests/flip_test.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// Copyright (C) 2018-2026 Intel Corporation
22
// SPDX-License-Identifier: Apache-2.0
33
//
4+
45
#include "gtest/gtest.h"
56
#include "openvino/core/model.hpp"
67
#include "openvino/core/preprocess/pre_post_process.hpp"

0 commit comments

Comments
 (0)