Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Latest commit

 

History

History

cpp-package

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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