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

Commit

Permalink
Fix macro
Browse files Browse the repository at this point in the history
  • Loading branch information
leezu committed Sep 25, 2020
1 parent 05f581d commit 2e58ffa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/operator/nn/concat.cc
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,7 @@ DMLC_REGISTER_PARAMETER(ConcatParam);
[](const NodeAttrs& attrs) { \
const ConcatParam& params = nnvm::get<ConcatParam>(attrs.parsed); \
std::vector<std::string> ret; \
ret.reserve(params.num_args); \
for (int i = 0; i < params.num_args; ++i) { \
ret.push_back(std::string("arg") + std::to_string(i)); \
} \
Expand Down

0 comments on commit 2e58ffa

Please sign in to comment.