mirror of
https://github.com/SillyTavern/SillyTavern-Extras.git
synced 2026-03-06 12:00:31 +00:00
9 lines
157 B
Python
9 lines
157 B
Python
from abc import ABC, abstractmethod
|
|
|
|
from torch.nn import Module
|
|
|
|
|
|
class ModuleFactory(ABC):
|
|
@abstractmethod
|
|
def create(self) -> Module:
|
|
pass |