Skip to content

Commit b824708

Browse files
Dobiasdclaude
andcommitted
Revert attention_layer.hpp formatting change
CI uses clang-format-16 which prefers the previous indentation; my local clang-format-20 reformatted it differently. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 8631738 commit b824708

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/fdeep/layers/attention_layer.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ namespace internal {
3434
const tensor& value = input[1];
3535
const tensor& key = input.size() > 2 ? input[2] : value;
3636
const tensor scores = score_mode_ == "dot" ? transform_tensor(fplus::multiply_with(scale_),
37-
dot_product_tensors(query, transpose(key), std::vector<int>({ 2, 1 }), false))
37+
dot_product_tensors(query, transpose(key), std::vector<int>({ 2, 1 }), false))
3838
:
3939
// https://github.com/keras-team/keras/blob/v2.13.1/keras/layers/attention/attention.py
4040
transform_tensor(fplus::multiply_with(concat_score_weight_),

0 commit comments

Comments
 (0)