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

[RunLayerContext] Unused property and its relevant methods are removed #2851

Merged
merged 1 commit into from
Jan 3, 2025

Conversation

EunjuYang
Copy link
Contributor

Abstact

This PR removes unused compute_engine property in RunLayerContext. The property has been unused, and it seems not to be used later as well. The compute_engine-related property seems to be handled in Context only. [refer to #2848]

List of commits

  • 079f57a
    • This commit removes unused property and its relevant methods in RunLayerContext.
    • compute_engine info is not handled in RunLayerContext.

Self evaluation:

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

* @return ompute engine: (CPU/GPU)
*/
ml::train::LayerComputeEngine getComputeEngine() { return compute_engine; }

Copy link
Member

Choose a reason for hiding this comment

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

You still have:

ml::train::LayerComputeEngine compute_engine =
ml::train::LayerComputeEngine::CPU;

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thank you for the comment! I've updated it :)

- This commit removes unused property and its relevant methods in
  RunLayerContext.
- compute_engine info is not handled in RunLayerContext.

Signed-off-by: Eunju Yang <ej.yang@samsung.com>
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!

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.

LGTM👍
In PR #2848, layer_node was modified, but layer_context seems not to have been modified.

Copy link
Collaborator

@jijoongmoon jijoongmoon 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 35624c5 into nnstreamer:main Jan 3, 2025
22 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