Skip to content

Commit

Permalink
Update dnn_benchmark for to get size
Browse files Browse the repository at this point in the history
  • Loading branch information
daquexian committed May 13, 2019
1 parent 3d21350 commit cced7ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions binaries/dnn_benchmark.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ int main(int argc, char **argv) {
{
auto model = get_model(daqName, outputBlob, false,
ANEURALNETWORKS_PREFER_FAST_SINGLE_ANSWER);
inputLen = model->GetInputSize(0);
outputLen = model->GetOutputSize(0);
inputLen = model->GetSize(model->GetInputs()[0]);
outputLen = model->GetSize(model->GetOutputs()[0]);
}
#define WARM_UP \
{ \
Expand Down

0 comments on commit cced7ed

Please sign in to comment.