title: Dynamically modify layer's parameters in Caffe
body: <p>I use the follwoing code to load the net and set up it, the parameters of layers are stored in <code>deploy.prototxt</code>.</p>
  
  <p><code>net = caffe.Net(deploy.prototxt, caffemodel,  caffe.TEST)</code></p>
  
  <p>However, what I want to do is to modify the parameters (e.g. <code>kernel_size</code>, or <code>pad</code>, etc.) of layers <strong>dynamically</strong> instead of modifying the prototxt file and reload it.
  Is there any way to do so?</p>