Suppose I have pretrained the network on other database. Because of overfitting problem, my database is not very diversity , so the overfitting problem is very serious. I want to load the pretrained network parameter in chainer v2.0 but to fix first several layers, in this case, what should I use in chainer v2.0, I know in chainer1.0 there is volatile keyword but which is deprecated in v2.0.
Should I use with chainer.no_backprop_mode():
inside def __call__
when process in first several layers?