code: def forward(self, img):
      return self.base_model(img, layers=["prob"])["prob"]
  
file_path: chainer/examples/caffe_export/export.py
imports: import argparse
  import os
  import numpy
  import chainer
  from chainer.exporters import caffe
  from chainer.links.model.vision import googlenet
  from chainer.links.model.vision import resnet
  from chainer.links.model.vision import vgg
label_desc: Use image node_id 2 for calling the DumpModel obj's underlying member method code with example usage: obj.forward(img) and returns: self