Skip to content

AlexeyV11/cnn_stat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cnn_stat

Example of how to compute simple network statistic on top of tensorflow graph (computing using simple mathematics and not TF api/internal state).

For each layer we compute the following:

  • params count
  • flops
  • receptive field
  • shape

Things to improve:

  • add check that we are working with the right batch ordering (GPU format)
  • check if every graph op we analyze have only 1 input and output or impliment handling of more complex cases like resnet
  • process pool flops
  • process activations layers altough they will have a minor effect

example output for VGG16 - https://pastebin.com/raw/Vje0yQt8

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages