from abc import abstractmethod | |
from typing import Optional | |
class DataBase(): | |
def __init__(self) -> None: | |
raise NotImplementedError | |
def prepare_data(self) -> None: | |
raise NotImplementedError | |
def setup(self, stage: Optional[str] = None): | |
raise NotImplementedError | |
def dataset(self, stage: str): | |
raise NotImplementedError |