"...text-generation-inference.git" did not exist on "c5a4a1faf3c430c11f09128a6e1dc40b4736e212"
Commit ce18507b authored by bddppq's avatar bddppq Committed by Francisco Massa
Browse files

Change usage of "view" to "reshape" in resnet to enable running with mkldnn (#890)

parent dc7db17e
......@@ -198,7 +198,7 @@ class ResNet(nn.Module):
x = self.layer4(x)
x = self.avgpool(x)
x = x.view(x.size(0), -1)
x = x.reshape(x.size(0), -1)
x = self.fc(x)
return x
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment