Simplify DotProductLayer::Reshape