FlattenLayer: generalized Blob dims