Skip to content

Commit 1e7448e

Browse files
committed
Add clamp documentation to postprocess and preprocess
1 parent 135b1b9 commit 1e7448e

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

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

+5
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@ class OPENVINO_API PostProcessSteps final {
3333
/// \brief Default destructor
3434
~PostProcessSteps();
3535

36+
/// \brief Add clamp postprocess operation. Clamp each element of input to the specified range [min_value,max_value]
37+
/// \param min_value Minimum value to clamp to.
38+
/// \param max_value Maximum value to clamp to.
39+
///
40+
/// \return Reference to 'this' to allow chaining with other calls in a builder-like manner
3641
PostProcessSteps& clamp(double min_value, double max_value);
3742

3843
/// \brief Add convert element type post-process operation

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

+6
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,12 @@ class OPENVINO_API PreProcessSteps final {
3636
/// \brief Default destructor
3737
~PreProcessSteps();
3838

39+
/// \brief Add clamp preprocess operation. Clamp each element of input to the specified range [min_value, max_value]
40+
///
41+
/// \param min_value Minimum value to clamp to.
42+
/// \param max_value Maximum value to clamp to.
43+
///
44+
/// \return Reference to 'this' to allow chaining with other calls in a builder-like manner
3945
PreProcessSteps& clamp(double min_value, double max_value);
4046

4147
/// \brief Add convert element type preprocess operation

0 commit comments

Comments
 (0)