-
Notifications
You must be signed in to change notification settings - Fork 2
Switch to shared_ptr in Graph class and change Graph interface #243
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
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #243 +/- ##
==========================================
- Coverage 82.36% 82.07% -0.30%
==========================================
Files 47 47
Lines 2382 2427 +45
Branches 1398 1430 +32
==========================================
+ Hits 1962 1992 +30
- Misses 194 206 +12
- Partials 226 229 +3 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
app/Graph/onnx_subs.cpp
Outdated
|
|
||
| int main() { | ||
| int type = 2; | ||
| Tensor aaaa = make_tensor(std::vector<int>({0})); |
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 rename tensor
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.
renamed
| } | ||
| return false; | ||
| } | ||
|
|
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 remove irrelevant changes
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.
ok
…ev-research/itlab_2023 into neiroyt/stable_branch
app/Graph/CMakeLists.txt
Outdated
| add_executable(ACC acc_check.cpp) | ||
| target_link_libraries(ACC BuildGraph) | ||
|
|
||
| add_executable(onnx_subs onnx_subs.cpp) |
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.
"subs" does not really tell anything to the user. Probably, "subgraphs" would be a better name?
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.
Changed
app/Graph/onnx_subs.cpp
Outdated
| for (auto& i : vec) { | ||
| for (int j : i) { | ||
| std::cerr << j << ' '; | ||
| } | ||
| std::cerr << '\n'; | ||
| } | ||
| std::cerr << "Time for path5:" << time << '\n'; | ||
|
|
||
| for (auto& i : vec2) { | ||
| for (int j : i) { | ||
| std::cerr << j << ' '; | ||
| } | ||
| std::cerr << '\n'; | ||
| } | ||
| std::cerr << "Time for concat:" << time2 << '\n'; |
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, clean up debug output
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.
Ok
No description provided.