Fix up InnerProductLayer after implementing its test.