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

[Filter] util to get nth info #2737

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jaeyun-jung
Copy link
Contributor

Use util function to get nth tensor-info ptr.
Also, remove unnecessary header include in filter subplugin.

@taos-ci
Copy link
Collaborator

taos-ci commented Sep 23, 2024

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

@jaeyun-jung jaeyun-jung requested review from EunjuYang and a team as code owners September 23, 2024 06:27
Use util function to get nth tensor-info ptr.
Also, remove unnecessary header include in filter subplugin.

Signed-off-by: Jaeyun Jung <[email protected]>
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.

LGTM!

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.

@jaeyun-jung, 💯 All CI checkers are successfully verified. Thanks.

Copy link
Contributor

@djeong20 djeong20 left a comment

Choose a reason for hiding this comment

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

LGTM! Is it because using the util function is safer than directly accessing nth info?

@jaeyun-jung
Copy link
Contributor Author

jaeyun-jung commented Sep 24, 2024

LGTM! Is it because using the util function is safer than directly accessing nth info?

tensors-info struct has only 16 array slots, others (max number of tensors is 256) are allocated memory.
If the number of tensors are larger than 16, out-of-index error.

@DonghakPark
Copy link
Member

Please Rebase (upstream/main), #2741 resolve cacheLoader_test_case issue

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