move MemoryDataLayer decl. from vision_layers.hpp to data_layers.hpp