Blobs are ND tensors instead of 4D arrays.

vector<int> shape_ instead of (num, channels, height, width).