Add memory data layer to pass data directly into the network
Add memory data layer in the layer factory
Add dynamic batch size test cases of memory data layer