Skip to content

Commit

Permalink
revert some changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Yi Zhang committed Dec 23, 2024
1 parent 52d099a commit 3cc345d
Show file tree
Hide file tree
Showing 2 changed files with 550 additions and 899 deletions.
2 changes: 1 addition & 1 deletion onnxruntime/core/providers/xnnpack/detail/utils.cc
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ std::unique_ptr<IndexedSubGraph::MetaDef> FuseActivation(const NodeUnit& node_un
def.attributes = node_unit.GetNode().GetAttributes();

// use infinity as the default as that's what xnnpack uses if min/max are not set
float min = std::numeric_limits<float>::infinity();
float min = -std::numeric_limits<float>::infinity();
float max = std::numeric_limits<float>::infinity();

const auto& activation_type = activation.OpType();
Expand Down
Loading

0 comments on commit 3cc345d

Please sign in to comment.