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

[Unittest] Add network_graph & lr_cosine unit test case #2762

Merged
merged 2 commits into from
Oct 22, 2024

Conversation

DonghakPark
Copy link
Member

@DonghakPark DonghakPark commented Oct 21, 2024

  1. [Unittest] Add network_graph unit test
  • add reinitialize / catch exceptions
  • These tests are not limited to specific layers but rather serve as test cases for checking activities performed on actual network graphs.
  1. [Unittest] Add lr_scheduler_cosine unit test
  • property setting test / finalize test / getLearningRate test
  • add to api and make helper function

Self evaluation:

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

Add More unit test on network_graph
- add reinitialize
- catch exceptions

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

Signed-off-by: Donghak PARK <donghak.park@samsung.com>
@taos-ci
Copy link
Collaborator

taos-ci commented Oct 21, 2024

📝 TAOS-CI Version: 1.5.20200925. Thank you for submitting PR #2762. 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
Collaborator

@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.

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

@DonghakPark
Copy link
Member Author

After adding more diverse test cases for functions and classes, I will remove the "Do Not Merge" label and Request review.

@taos-ci
Copy link
Collaborator

taos-ci commented Oct 21, 2024

:octocat: cibot: @DonghakPark, api/ccapi/include/optimizer.h does not include Doxygen tags such as @file @brief @author @bug. You must include the Doxygen tags in the source code. Please refer to a Doxygen manual at http://github.com/nnstreamer/TAOS-CI/blob/main/ci/doc/doxygen-documentation.md

Add lr_scheduler_cosine Unit test case
- property setting test
- finalize test
- getLearningRate test

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

Signed-off-by: Donghak PARK <donghak.park@samsung.com>
@nnstreamer nnstreamer deleted a comment from taos-ci Oct 21, 2024
@DonghakPark DonghakPark changed the title [Unittest] Add network_graph unit test [Unittest] Add network_graph & lr_cosine unit test case Oct 21, 2024
Copy link
Collaborator

@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.

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

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.

LGTM !!
I like it because there are many negative test cases :)

Copy link
Member

@skykongkong8 skykongkong8 left a comment

Choose a reason for hiding this comment

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

LGTM

@jijoongmoon jijoongmoon merged commit 5eb2d6b into nnstreamer:main Oct 22, 2024
54 checks passed
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.

5 participants