Skip to content

Commit

Permalink
🐛 Fix bug caused by Google :P
Browse files Browse the repository at this point in the history
Former-commit-id: a3d1ebb
  • Loading branch information
daquexian committed Dec 7, 2017
1 parent 4ce89b7 commit d8f00d6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dnnlibrary/src/main/cpp/ModelBuilder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -535,7 +535,8 @@ ModelBuilder::addConcat(const vector<uint32_t> &inputs, uint32_t axis, uint32_t

vector<uint32_t> operationInputs = inputs;
operationInputs.push_back(axisOperandIndex);
operationInputs.push_back(activationOperandIndex);
// This undocumented input are is in MR1, it seems not needed anymore in MR2
// operationInputs.push_back(activationOperandIndex);

ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_CONCATENATION,
operationInputs.size(), &operationInputs[0], 1, &outputOperandIndex);
Expand Down

0 comments on commit d8f00d6

Please sign in to comment.