Hi,
Is it good or bad or free to reuse names of tensors. Provided some part of my program is like this:
def forward(self, x):
x = self.conv(x)
x = self.bn(x)
x = self.relu(x)
return x
Is this good for memory usage and speed compared with the following method:
def forward(self, x):
x1 = self.conv(x)
x2 = self.bn(x1)
x3 = self.relu(x2)
return x3
Is there actually a difference ?