def forward(self, x):
        residual = x

        out = self.conv1(x)
        out = self.bn1(out)
        out = self.relu(out)

        out = self.conv2(out)
        out = self.bn2(out)

        if self.downsample is not None:
            residual = self.downsample(x)

        out += residual
        out = self.relu(out)

can see batchNorm used here also two times
Thank you
then what is .clone() 2 used for?
as we are programming in python, doesn’t the concept of shallow and deep copy apply here?