-
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
Add a C API to Neuropod #407
Comments
I don't think this is accurate. We should build this API in a way where it provides a robust easy-to-use interface to use Neuropod from C (independent of the Go API) |
Agree, just wanted to highlight that CGO is going to be a first user really, not only. |
Continue with basic implementation of a C API for Neuropod. Issue uber#407 Added a test that loads a model and fails, runs inference successfully and fails, and verifies the name and platform.
Continue with basic implementation of a C API for Neuropod. Issue uber#407 Added a test that loads a model and fails, runs inference successfully and fails, and verifies the name and platform.
### Summary: Continue with basic implementation of a C API for Neuropod. Issue #407 ### Test Plan: Added a test that loads a model and fails, runs inference successfully and fails, and verifies the name and platform.
### Summary: Continue with basic implementation of a C API for Neuropod. Issue #407 ### Test Plan: Added test for input and output tensors.
### Summary: Continue with basic implementation of a C API for Neuropod. Issue #407 ### Test Plan: Added test that test returned values of number of dims and data in dims array.
### Summary: Continue with basic implementation of a C API for Neuropod. Issue uber#407 ### Test Plan: Added test that test returned values of number of dims and data in dims array.
Feature
C API
We don't expect that somebody is using C API directly. This will be used by future CGo API mostly.
Connected to #294
Describe the solution you'd like
Design is inspired by the TensorFlow C API and Uber CGO package that includes Bridge C/C++ bridge. Namely:
Internal C Headers
Public C Headers
C/C++ implementation of public and internal headers.
The text was updated successfully, but these errors were encountered: