tree: 96533409d5aa5d3a463a61bf273bc460f54d48e3 [path history] [tgz]
  1. .travis.yml
  2. CMakeLists.txt
  6. example/
  7. include/
  8. scripts/
  9. tests/

MXNet C++ Package

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

A basic tutorial can be found at

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.)