Correct me if i am wrong. Is writing self.relu(x)
when relu is inplace the same as writing x=self.relu(x)
, such that in the resnet code, the assignment is unnecessary? Thats my understanding of inplace
.
Correct me if i am wrong. Is writing self.relu(x)
when relu is inplace the same as writing x=self.relu(x)
, such that in the resnet code, the assignment is unnecessary? Thats my understanding of inplace
.