Skip to content
This repository was archived by the owner on Jul 1, 2025. It is now read-only.

Commit 2bc5be9

Browse files
zertoshfacebook-github-bot
authored andcommitted
Workaround clang-format idempotence issues
Differential Revision: D56137339 fbshipit-source-id: cde07ba26cca4ae3eddb6dd1c56f258b07fee851
1 parent 5769ddb commit 2bc5be9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/unittests/OnnxExporterTest.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1114,7 +1114,9 @@ TEST(exporter, TestUniqueOffsetMapSerialization) {
11141114
PlaceholderBindings bindings;
11151115
bindings.allocate({I, output});
11161116

1117+
// clang-format off
11171118
#define GET_TQP(T_) TensorQuantizationParams{T_->getScale(), T_->getOffset()}
1119+
// clang-format on
11181120
OriginNameToTQPMap originNameToTQPMap;
11191121
originNameToTQPMap.emplace(W->getName(), GET_TQP(W->getOutput().getType()));
11201122
originNameToTQPMap.emplace(B->getName(), GET_TQP(B->getOutput().getType()));

0 commit comments

Comments
 (0)