# Copyright (c) Alibaba, Inc. and its affiliates. from abc import ABC, abstractmethod from typing import Any, Dict class Preprocessor(ABC): def __init__(self, *args, **kwargs): pass @abstractmethod def __call__(self, data: Dict[str, Any]) -> Dict[str, Any]: pass
致力于通过开放的社区合作,开源AI模型以及相关创新技术,推动基于模型即服务的生态繁荣发展