-
Notifications
You must be signed in to change notification settings - Fork 77
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
[C API] Initial implementation #400
Conversation
|
||
struct NP_Neuropod | ||
{ | ||
std::unique_ptr<neuropod::Neuropod> model; |
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.
nit: if unique_ptr is used explicitly, it makes sense to include explicitly too. The same about shared_ptr
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.
Fixed (in this file and others)
@@ -0,0 +1,24 @@ | |||
/* Copyright (c) 2020 UATC, LLC |
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.
btw, what is UATC, is it Uber ATG abbrevation?
Codecov Report
@@ Coverage Diff @@
## master #400 +/- ##
==========================================
- Coverage 90.10% 90.03% -0.08%
==========================================
Files 77 82 +5
Lines 4741 4797 +56
==========================================
+ Hits 4272 4319 +47
- Misses 469 478 +9
Continue to review full report at Codecov.
|
Summary:
An initial basic implementation of a C API for Neuropod.
Test Plan:
Added a test that loads a model, runs inference, and verifies the output. More unit tests and integration tests should be added in the future