base_processor.py 198 字节
Newer Older
W
weishengyu 已提交
1 2 3 4 5 6 7 8 9 10 11
from abc import ABC, abstractmethod


class BaseProcessor(ABC):
    @abstractmethod
    def __init__(self, config):
        pass

    @abstractmethod
    def process(self, input_data):
        pass