Skip to content

Commit

Permalink
Fix nbottoms -> ntops
Browse files Browse the repository at this point in the history
  • Loading branch information
abid-k authored Aug 9, 2018
1 parent ef8bf39 commit 7d2f4c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion software/xtract/caffe_network_parser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2924,7 +2924,7 @@ void ExtractXCustomParameters(const caffe::LayerParameter& src, XGraph& graph)
ASSERT( (ntops > 0) && (nbottoms > 0), EP070,
"There should be minimum one top & bottom blobs for layer " << src.name())

ASSERT( (nbottoms == 1), EP075,
ASSERT( (ntops == 1), EP075,
"Currently only one top blob is supported for user_defined_layer: " << src.name())

ELOG( (ntops == 1 && nbottoms == 1 && src.bottom(0) == src.top(0)), EP073,
Expand Down

0 comments on commit 7d2f4c8

Please sign in to comment.