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

Commit

Permalink
Revert
Browse files Browse the repository at this point in the history
  • Loading branch information
reminisce committed May 14, 2017
1 parent 0dd1d94 commit 53b99c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/c_api/c_api_symbolic.cc
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const char *kNamespaceSeparator = "$";
DMLC_JSON_ENABLE_ANY(int, int);

// convert nnvm symbol to a nnvm graph.
inline nnvm::Graph Symbol2Graph(const nnvm::Symbol &s) {
nnvm::Graph Symbol2Graph(const nnvm::Symbol &s) {
nnvm::Graph g;
g.outputs = s.outputs;
g.attrs["mxnet_version"] = std::make_shared<nnvm::any>(static_cast<int>(MXNET_VERSION));
Expand Down Expand Up @@ -366,7 +366,7 @@ int MXSymbolSaveToJSON(SymbolHandle symbol, const char **out_json) {
namespace mxnet {

template<typename AttrType>
inline void MatchArguments(
void MatchArguments(
const nnvm::IndexedGraph& idx,
const std::unordered_map<std::string, AttrType>& known_arg_attrs,
std::vector<AttrType>* arg_attrs,
Expand Down

0 comments on commit 53b99c9

Please sign in to comment.