aboutsummaryrefslogtreecommitdiff
path: root/tests/test_cls.c
diff options
context:
space:
mode:
authorOnur Gündüz <ogunduz@gmail.com>2026-06-25 17:58:46 +0200
committerOnur Gündüz <ogunduz@gmail.com>2026-06-25 17:58:46 +0200
commitf7ef995ff54da671f9d7665b3d92ff25934c1e8b (patch)
tree1401d04c0f464b32bffd63f787a63a82c6959e97 /tests/test_cls.c
parent417f861f3661c2253258b5683a627d961e81fc68 (diff)
downloadffwd-f7ef995ff54da671f9d7665b3d92ff25934c1e8b.tar.gz
ffwd-f7ef995ff54da671f9d7665b3d92ff25934c1e8b.zip
chore: run clang-format
Diffstat (limited to 'tests/test_cls.c')
-rw-r--r--tests/test_cls.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_cls.c b/tests/test_cls.c
index 79db064..b6e2dfb 100644
--- a/tests/test_cls.c
+++ b/tests/test_cls.c
@@ -37,8 +37,8 @@ int main(void) {
fprintf(stderr, "model setup failed\n");
return 1;
}
- if (cfg->pooling_mode != FFWD_POOL_CLS ||
- cfg->attention_mode != FFWD_ATTENTION_BIDIRECTIONAL || !cfg->normalize_embeddings) {
+ if (cfg->pooling_mode != FFWD_POOL_CLS || cfg->attention_mode != FFWD_ATTENTION_BIDIRECTIONAL ||
+ !cfg->normalize_embeddings) {
fprintf(stderr, "CLS pooling metadata was not detected\n");
return 1;
}