-
Notifications
You must be signed in to change notification settings - Fork 81
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
Conversation
* @return ompute engine: (CPU/GPU) | ||
*/ | ||
ml::train::LayerComputeEngine getComputeEngine() { return compute_engine; } | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You still have:
nntrainer/nntrainer/layers/layer_context.h
Lines 946 to 947 in 079f57a
ml::train::LayerComputeEngine compute_engine = | |
ml::train::LayerComputeEngine::CPU; |
There was a problem hiding this comment.
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>
079f57a
to
6e383f4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
There was a problem hiding this 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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Abstact
This PR removes unused
compute_engine
property inRunLayerContext
. The property has been unused, and it seems not to be used later as well. The compute_engine-related property seems to be handled inContext
only. [refer to #2848]List of commits
Self evaluation: