Skip to content

Commit 9824a99

Browse files
committed
Apply suggestions from code review
1 parent 0d8870d commit 9824a99

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/plugins/intel_cpu/src/nodes/eltwise.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -549,8 +549,8 @@ void Eltwise::init() {
549549
// Bf16 saturation handling for PowerStatic parameters
550550
// to make sure they stay within the valid range for bfloat16.
551551
if (m_attrs.data.algo == Algorithm::EltwisePowerStatic && getOriginalInputPrecisionAtPort(0) == ov::element::bf16) {
552-
static const float bf16_lowest = static_cast<float>(std::numeric_limits<ov::bfloat16>::lowest());
553-
static const float bf16_max = static_cast<float>(std::numeric_limits<ov::bfloat16>::max());
552+
const float bf16_lowest = static_cast<float>(std::numeric_limits<ov::bfloat16>::lowest());
553+
const float bf16_max = static_cast<float>(std::numeric_limits<ov::bfloat16>::max());
554554

555555
// Helper lambda to clamp parameter values within bf16 range
556556
auto clampBf16Parameter = [&](auto& param) {

0 commit comments

Comments
 (0)