Skip to content

Commit

Permalink
small edits according to reviews (apache#151)
Browse files Browse the repository at this point in the history
  • Loading branch information
eric-haibin-lin authored Aug 8, 2017
1 parent 2dc7dc9 commit f318c9d
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion example/sparse/get_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

def get_libsvm_data(data_dir, data_name, url, data_origin_name):
if not os.path.isdir(data_dir):
os.system("mkdir " + data_dir)
os.mkdir(data_dir)
os.chdir(data_dir)
if (not os.path.exists(data_name)):
import urllib
Expand Down
2 changes: 1 addition & 1 deletion python/mxnet/ndarray/ndarray.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
from . import broadcast_greater, broadcast_greater_equal, broadcast_lesser, broadcast_lesser_equal
from . import zeros_like, slice

__all__ = ["NDArray", "concatenate", "_DTYPE_NP_TO_MX", "_DTYPE_MX_TO_NP", \
__all__ = ["NDArray", "concatenate", "_DTYPE_NP_TO_MX", "_DTYPE_MX_TO_NP", "_GRAD_REQ_MAP", \
"ones", "add", "arange", "divide", "equal", "full", "greater", "greater_equal", \
"imdecode", "lesser", "lesser_equal", "maximum", "minimum", "moveaxis", \
"multiply", "negative", "not_equal", "onehot_encode", "power", "subtract", \
Expand Down
2 changes: 1 addition & 1 deletion python/mxnet/symbol.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
from .base import NDArrayHandle, ExecutorHandle, SymbolHandle, OpHandle
from .base import check_call, MXNetError, NotImplementedForSymbol, _Null # pylint: disable=unused-import
from .context import Context
from .ndarray.ndarray import NDArray, _DTYPE_NP_TO_MX, _DTYPE_MX_TO_NP, _GRAD_REQ_MAP
from .ndarray import NDArray, _DTYPE_NP_TO_MX, _DTYPE_MX_TO_NP, _GRAD_REQ_MAP
from .name import NameManager # pylint: disable=unused-import
from .ndarray.ndarray import _STORAGE_TYPE_STR_TO_ID
from .ndarray.sparse_ndarray import _ndarray_cls
Expand Down
2 changes: 0 additions & 2 deletions src/executor/graph_executor.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@
#include <vector>
#include "./exec_pass.h"

#define EXECUTOR_DEBUG 0

namespace mxnet {

// forward declaration
Expand Down

0 comments on commit f318c9d

Please sign in to comment.