Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[trivial] remove unnecessary code #2678

Merged
merged 1 commit into from
Jul 24, 2024

Conversation

djeong20
Copy link
Contributor

This PR removes the print statement that was previously added for debugging purposes.

Self-evaluation:

  1. Build test: [X]Passed [ ]Failed [ ]Skipped
  2. Run test: [X]Passed [ ]Failed [ ]Skipped

This PR removes the print statement that was previously added for debugging purposes.

**Self-evaluation:**
1. Build test: [X]Passed [ ]Failed [ ]Skipped
2. Run test:   [X]Passed [ ]Failed [ ]Skipped

Signed-off-by: Donghyeon Jeong <[email protected]>
@taos-ci
Copy link

taos-ci commented Jul 17, 2024

📝 TAOS-CI Version: 1.5.20200925. Thank you for submitting PR #2678. Please a submit 1commit/1PR (one commit per one PR) policy to get comments quickly from reviewers. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://ci.nnstreamer.ai/.

Copy link

@taos-ci taos-ci left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@djeong20, 💯 All CI checkers are successfully verified. Thanks.

Copy link
Member

@SeoHyungjun SeoHyungjun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about making it only for use in debug mode?

Copy link
Member

@DonghakPark DonghakPark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice Catch !!

@djeong20
Copy link
Contributor Author

How about making it only for use in debug mode?

When checking test results, this code makes readability low and seems irrelevant for model debugging, so I thought it would be better to remove it.

[ RUN      ] multiInoutModels/nntrainerModelTest.model_test_save_load_compare/one_to_one
num iter: 2
iteration: 0
iteration: 1
[       OK ] multiInoutModels/nntrainerModelTest.model_test_save_load_compare/one_to_one (1 ms)
[ RUN      ] multiInoutModels/nntrainerModelTest.model_test_save_load_compare/one_to_one__reversed
num iter: 2
iteration: 0
iteration: 1
[       OK ] multiInoutModels/nntrainerModelTest.model_test_save_load_compare/one_to_one__reversed (0 ms)
[ RUN      ] multiInoutModels/nntrainerModelTest.model_test_save_load_compare/one_to_many
num iter: 2
iteration: 0
iteration: 1
[       OK ] multiInoutModels/nntrainerModelTest.model_test_save_load_compare/one_to_many (2 ms)
[ RUN      ] multiInoutModels/nntrainerModelTest.model_test_save_load_compare/split_and_join_dangle
num iter: 3
iteration: 0
iteration: 1
iteration: 2

Copy link
Contributor

@baek2sm baek2sm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch!

Copy link
Contributor

@lhs8928 lhs8928 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@myungjoo myungjoo merged commit 8909800 into nnstreamer:main Jul 24, 2024
43 checks passed
@djeong20 djeong20 deleted the update/models_test_utils branch July 26, 2024 08:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants