Skip to content

Commit

Permalink
2023/09/12-10:35:09 (Linux sv2111 unknown)
Browse files Browse the repository at this point in the history
  • Loading branch information
pbenner committed Sep 12, 2023
1 parent 7f440e6 commit 5e88fbd
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions coordinationnet/model_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,11 @@ def __str__(self):
for key, value in self.items():
result += f'-> {key:21}: {value}\n'
return result

def __copy__(self):
return ModelConfig(self)

def __deepcopy__(self, memo):
result = ModelConfig(self)
memo[id(self)] = result
return result

0 comments on commit 5e88fbd

Please sign in to comment.