Skip to content

Commit

Permalink
Updated mxnetapi.cpp
Browse files Browse the repository at this point in the history
* fixed shape for auxiliary outputs
  • Loading branch information
QueensGambit committed Aug 26, 2021
1 parent 87672f0 commit 0f3d60f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engine/src/nn/mxnetapi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ void MXNetAPI::init_nn_design()
set_shape(nnDesign.valueOutputShape, executor->outputs[nnDesign.valueOutputIdx].GetShape());
nnDesign.hasAuxiliaryOutputs = executor->outputs.size() > 2;
if (nnDesign.hasAuxiliaryOutputs) {
set_shape(nnDesign.valueOutputShape, executor->outputs[nnDesign.auxiliaryOutputIdx].GetShape());
set_shape(nnDesign.auxiliaryOutputShape, executor->outputs[nnDesign.auxiliaryOutputIdx].GetShape());
}

float* inputPlanes = new float[batchSize*StateConstants::NB_VALUES_TOTAL()];
Expand Down

0 comments on commit 0f3d60f

Please # to comment.