can you clarify the different between modifying and replacing?
def __init__(self):
    self._arch =  torch.variable(<shape> , required_grad=True)
def set_arch(self, arch):
    self._arch = arch # is this modifying or replacing?