Added train catch to the blank network

This commit is contained in:
Jaret Burkett committed 2025-01-30 16:15:45 +00:00
1 parent 1188cf1e8a
commit e5355bf8d5
2 files changed
+4 -1

No files matched your search

+3
View File
@@ -108,6 +108,9 @@ class BlankNetwork:
def __exit__(self, exc_type, exc_val, exc_tb): def __exit__(self, exc_type, exc_val, exc_tb):
self.is_active = False self.is_active = False
def train(self):
pass
def flush(): def flush():
torch.cuda.empty_cache() torch.cuda.empty_cache()