Skip to content

Commit

Permalink
style fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pavel-esir authored Nov 30, 2023
1 parent ed857e9 commit 392982c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/frontends/onnx/frontend/src/utils/random_normal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ OutputVector make_random_normal(const Output<ngraph::Node>& shape,
auto const product =
std::make_shared<default_opset::Multiply>(scale_const, std::make_shared<default_opset::Multiply>(sqrt, cos));
auto const sum = std::make_shared<default_opset::Add>(product, mean_const);

// if we don't disable downcasting then log(float32_min) gives -inf
disable_fp16_compression(uniform_1);
disable_fp16_compression(log);
Expand Down
1 change: 0 additions & 1 deletion src/frontends/pytorch/src/op/rand.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ OutputVector make_random_normal(const NodeContext& context,
auto sqrt_x_cos = context.mark_node(std::make_shared<v1::Multiply>(sqrt, cos));
auto product = context.mark_node(std::make_shared<v1::Multiply>(scale_const, sqrt_x_cos));
auto sum = context.mark_node(std::make_shared<v1::Add>(product, mean_const));

// if we don't disable downcasting then log(float32_min) gives -inf
disable_fp16_compression(uniform_1);
disable_fp16_compression(log);
Expand Down

0 comments on commit 392982c

Please sign in to comment.