Assigning functional relu to a variable while inplace parameter is True
Assigning functional relu to a variable while inplace parameter is True Question: If I want to do ReLU operation after my convolution on x, and in my code I do: x = F.leaky_relu(x, negative_slope=0.2, inplace=True) Is this code wrong since I assign the relu to x variable while inplace is True? Ie. does it mean …