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

DRAFT: Support circle+ training parameter loading #11740

Closed
wants to merge 3 commits into from

Conversation

zetwhite
Copy link
Contributor

To resolve : #11692

ONE-DCO-1.0-Signed-off-by: SeungHui Youn sseung.youn@samsung.com

@zetwhite zetwhite added DRAFT A draft issue or PR for sharing one's current working status and discussion. PR/NO MERGE Please don't merge. I'm still working on this :) labels Oct 19, 2023
@zetwhite zetwhite force-pushed the 1017/circle-x-importer branch 4 times, most recently from 9120746 to 30171c5 Compare October 19, 2023 12:16
@zetwhite zetwhite force-pushed the 1017/circle-x-importer branch 2 times, most recently from 1a0ce64 to df7a2c8 Compare October 19, 2023 12:51
ONE-DCO-1.0-Signed-off-by: SeungHui Youn <sseung.youn@samsung.com>
ONE-DCO-1.0-Signed-off-by: SeungHui Youn <sseung.youn@samsung.com>
ONE-DCO-1.0-Signed-off-by: SeungHui Youn <sseung.youn@samsung.com>
@@ -235,6 +237,50 @@ void BaseLoader<LoaderDomain>::BaseLoader::loadFromFile(const std::string &file_
close(_fd);
}

template <typename LoaderDomain>
void BaseLoader<LoaderDomain>::BaseLoader::loadFromFile(const std::string &file_path,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

can be merged with loadFromFile()

@@ -210,6 +224,7 @@ struct nnfw_session
std::vector<std::thread> _threads;
#ifdef ONERT_TRAIN
uint32_t _training_step{0};
std::unique_ptr<onert::ir::train::TrainingInfo> _traininfo;
Copy link
Contributor Author

@zetwhite zetwhite Oct 24, 2023

Choose a reason for hiding this comment

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

Is this a right place?
How about move to ir::Model.h ?

@zetwhite zetwhite closed this Feb 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DRAFT A draft issue or PR for sharing one's current working status and discussion. PR/NO MERGE Please don't merge. I'm still working on this :)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[circle+] Implement circle+(training) parameter
1 participant