Yes, CAFFE is a deprecated framework.
If you find the implementation, there should be a prototxt file defining the architecture.
Based on Figure 3, I still think that [batch_size, 1, 5, 50] might be the expected input shape.