Hi Hagay, hi Amol, As far as I know C API is not for inference only and it's used for training as well. Actually the python binding as well as most other language bindings work through this API.
I'm aware of multiple use cases where both training and inference with MXNet should be done in C or C++: plugin development for applications such as MatLab, Adobe Photoshop, Maya, Unity etc. A lot of people doing simulations for robotics and reinforcement learning would want to integrate it on a lowest possible level as well. Best Anton ср, 19 сент. 2018 г. в 5:23, Hagay Lupesko <[email protected]>: > Amol, > > I can try and provide my 2 cents on some of these questions: > - "What are the typical uses cases in which C++ (cpp-package) or C (C > Predict) APIs are used? For example: inference, training or both." > Note that the C API supports inference only. > From my experience as an Amazon Web Services employee, teams/customers who > used the C API used it mainly for inference. Python is much more convenient > and suitable for rapid experimentation that is important for building and > training models. > > - "Currently, users are required to build these APIs from source. > Would it be helpful if these APIs are available as standalone packages > distributed via package managers (example: apt-get)?" > I think it will reduce friction significantly if MXNet offers pre-build > binaries. MXNet build takes a while to build and to figure out, there's > quite a few build flag options, which may be intimidating for users, > especially new users. > Package managers will be great, but even just binary libraries available on > a shared location (e.g. S3) would be super useful. > > HTH, > Hagay > > > On Mon, Sep 17, 2018 at 3:23 PM Amol Lele <[email protected]> wrote: > > > Hello everybody, > > > > > > > > As contributor to Apache MXNet project I would like to ask community a > > couple of questions in regards to C Predict and C++ APIs that MXNet > > provides to its users. My main goal is to better understand the pain > points > > community members currently see/have with those APIs as well as to what > > contributions to C++ and C Predict APIs would be most beneficial to users > > who are using/tried to use these APIs of Apache MXNet. > > > > 1. What are the typical uses cases in which C++ (cpp-package) or C > (C > > Predict) APIs are used? For example: inference, training or both. > > > > 2. Which set of APIs out of C++ and C do users prefer? Preferably > > with reasons why. > > > > 3. What are the frequently used platforms (Linux, Mac, Windows, > etc) > > and configurations (such as CPU, GPU, etc) on which these APIs are used? > > > > 4. Currently, users are required to build these APIs from source. > > Would it be helpful if these APIs are available as standalone packages > > distributed via package managers (example: apt-get)? > > > > I would highly appreciate your replies to any or all of the above > > questions. > > > > > > > > Thanks, > > > > -Amol > > >
