How to make two different network?

net1 = resnet50().cuda()
net2 = resnet50().cuda()

I want to net1 and net2 have same architecture but different each other.
input -> net1 -> output1
input -> net2 -> output2
output1 and output2 is exactly same…why net1 and net2 are the same?

How resnet50 was constructed? Is this from TorchVision models?