namespace ov::reference¶
Overview¶
namespace reference {
// global functions
template <>
voidconst T \*constconst T \*constconst T \*constT \*constconst Shape&const size_tconst double group_normalization(
,
,
,
,
,
,
);
template <>
TT round_to_nearest_even();
template <>
TT round_half_away_zero();
template <, >
voidconst T \*T \*const size_tconst op::v5::Round::RoundMode round(
,
,
,
);
} // namespace reference
Detailed Documentation¶
Global Functions¶
template <>
TT round_to_nearest_even()
Rounding algorithm for ov::op::v5::Round::RoundMode::HALF_TO_EVEN.
Parameters:
T |
Value type. |
value |
Value for rounding. |
Returns:
Rounded value.
template <>
TT round_half_away_zero()
Rounding algorithm for ov::op::v5::Round::RoundMode::HALF_AWAY_FROM_ZERO.
Parameters:
T |
Value type. |
value |
Value for rounding. |
Returns:
Rounded value.
template <, >
voidconst T \*T \*const size_tconst op::v5::Round::RoundMode round(
,
,
,
)
Reference implementation of Round operator.
Used when T is OpenVINO floating type.
Used when T is OpenVINO integral type.
Parameters:
arg |
Input buffer pointer with data to round. |
out |
Output buffer pointer with rounded results. |
count |
Number of elements in input tensor. |
mode |
Rounding mode. |
arg |
Input buffer pointer with data to round. |
out |
Output buffer pointer with rounded results. |
count |
Number of elements in input tensor. |
mode |
Rounding mode. |