title: Caffe layer creation failure
body: <p>I'm trying to load in TEST phase a network configuration which has a memory data layer first and then a convolution layer. The MemoryData layer creation succeeds,
  But the convolution layer's creation fails at the following location:</p>
  
  <pre><code>LOG(INFO) &lt;&lt; "Creating layer " &lt;&lt; param.name();
  const string&amp; type = param.type();
  CreatorRegistry&amp; registry = Registry();
  CHECK_EQ(registry.count(type), 1) &lt;&lt; "Unknown layer type: " &lt;&lt; type
  &lt;&lt; " (known types: " &lt;&lt; LayerTypeList() &lt;&lt; ")";
  </code></pre>
  
  <p>Printed error is: </p>
  
  <blockquote>
    <p>F0519 14:54:12.494139 14504 layer_factory.hpp:77] Check failed:
    registry.count(t ype) == 1 (0 vs. 1) Unknown layer type: Convolution
    (known types: MemoryData)</p>
  </blockquote>
  
  <p>registry has one entry only, indeed with MemoryData.
  When stepping into the registry creation functions, it looks like it first (and last, since this is a singletone) called from </p>
  
  <pre><code>REGISTER_LAYER_CLASS(MemoryData);
  </code></pre>
  
  <p>in memory_data_later.cpp.</p>
  
  <p>I see similar <code>REGISTER_LAYER_CLASS</code> calls for the other supported layers, but it looks like they are never called.
  How could I solve it?</p>
  
  <p>Thanks!</p>