Skip to content

Commit

Permalink
Merge a54c06b into d7b7ac3
Browse files Browse the repository at this point in the history
  • Loading branch information
cnjsdfcy committed Aug 24, 2020
2 parents d7b7ac3 + a54c06b commit 03abd06
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nn_dataflow/tools/nn_layer_stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ def layer_stats(args):
elif isinstance(layer, ConvLayer):
convs += 1

ifmap_size = layer.total_ifmap_size(word_bytes) * batch / KILO
ofmap_size = layer.total_ofmap_size(word_bytes) * batch / KILO
ifmap_size = layer.total_ifmap_size(batch, word_bytes) / KILO
ofmap_size = layer.total_ofmap_size(batch, word_bytes) / KILO
try:
filter_size = layer.total_filter_size(word_bytes) / KILO
except AttributeError:
Expand Down

0 comments on commit 03abd06

Please sign in to comment.