Fetching latest commit…
Cannot retrieve the latest commit at this time.


MXNet C++ Package

To build the C++ package, please refer to this guide.

A basic tutorial can be found at https://mxnet.incubator.apache.org/tutorials/c++/basics.html.

The example directory contains examples for you to get started.

Building C++ examples in examples folder

From cpp-package/examples directory

  • Build all examples in release mode: make all
  • Build all examples in debug mode : make debug

By default, the examples are build to be run on GPU. To build examples to run on CPU:

  • Release: make all MXNET_USE_CPU=1
  • Debug: make debug MXNET_USE_CPU=1

The makefile will also download the necessary data files and store in data folder. (The download will take couple of minutes, but will be done only once on a fresh installation.)