title: number of parameters in Caffe LENET or Imagenet models
body: <p>How to calculate number of parameters in a model e.g. LENET for mnist,  or ConvNet for imagent model etc.
  Is there any specific function in caffe that returns or saves number of parameters in a model.
  regards</p>