-
Notifications
You must be signed in to change notification settings - Fork 442
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
Split Rust code between CLI and library #406
Conversation
labels.entry(target).or_default().push(label); | ||
} | ||
let labels = labels; | ||
let mut output = File::create("../lib/src/label.rs")?; |
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.
Could you add a comment explaining why dynamically generating this file is necessary (or add it to the README.md of this directory)?
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.
please add a line mentioning that this is generated by the gen crate. It should help code wanderers to figure things out.
Also use the latest release candidate of the ORT library, which provides async inference. The CLI now creates only one session and shares it between the different inference tasks.
This also implements the features extraction reference tests.