NervanaSystems / ngraph

nGraph has moved to OpenVINO
https://www.ngraph.ai/
Apache License 2.0
1.35k stars 221 forks source link

C API support #1187

Closed QuPengfei closed 4 years ago

QuPengfei commented 6 years ago

Is there a plan to define the C API?

diyessi commented 6 years ago

Eventually, when something needs it. It would just wrap the C++, so we want to wait for that to settle first.

QuPengfei commented 6 years ago

FFmpeg need the C API. If C API wrapper is ready, it will be easy to enable nGraph in the FFmpeg.

diyessi commented 6 years ago

How are you trying to use nGraph in FFmpeg?.

QuPengfei commented 6 years ago

The use case is simple. it focus on the inference. During the media decoding or transcoding, the end user can do the inference with the nGraph as one of the backend. it helps accelerate on the different HW.

diyessi commented 6 years ago

In your use case, I think you would have a specific graph in mind, and what you really want is the ability to produce a small library with a C API that runs that graph.