Merged
Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR unifies the file naming style by updating include directives across the codebase to use consistent lower-case names.
- Updated include paths in C++ source and header files to maintain a uniform naming convention.
- Renamed header file references (e.g., "Seq2Seq.h" to "seq2seq.h", "posencoding.h" to "pos_encoding.h") to match the consolidated style.
Reviewed Changes
Copilot reviewed 18 out of 18 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| transformer.cpp | Updated include from "module/Seq2Seq.h" to "module/seq2seq.h". |
| test.cpp | Updated includes for "posencoding.h" and "Seq2Seq.h" to their lower-case variants. |
| module/transformer_encoder_block.h | Updated includes for "PositionWiseFFN.h" and "AddNorm.h" to lower-case. |
| module/transformer_encoder_block.cpp | Updated include for header to lower-case. |
| module/transformer_encoder.h | Updated includes for "TransformerEncoderBlock.h" and "posencoding.h" to lower-case. |
| module/transformer_encoder.cpp | Updated include for header to lower-case. |
| module/transformer_decoder_block.h | Updated includes for "PositionWiseFFN.h" and "AddNorm.h" to lower-case. |
| module/transformer_decoder_block.cpp | Updated include for header to lower-case. |
| module/transformer_decoder.h | Updated includes for "posencoding.h" and "TransformerDecoderBlock.h" to lower-case. |
| module/transformer_decoder.cpp | Updated include for header to lower-case. |
| module/seq2seq.h | Updated includes for "TransformerEncoder.h" and "TransformerDecoder.h" to lower-case. |
| module/seq2seq.cpp | Updated include for header to lower-case. |
| module/position_wise_ffn.cpp | Updated include for header to lower-case. |
| module/pos_encoding.cpp | Updated include for header to lower-case. |
| module/addnorm.cpp | Updated include for header to lower-case. |
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
文件名大小风格统一