zhangyue66 11 miesięcy temu
rodzic
commit
b880a62620

+ 0 - 5
paddlex/inference/models_new/base/predictor/base_predictor.py

@@ -124,11 +124,6 @@ class BasePredictor(ABC):
         raise NotImplementedError
 
     @abstractmethod
-    def apply(self, input: Any) -> Iterator[Any]:
-        """Predict the given input."""
-        raise NotImplementedError
-
-    @abstractmethod
     def set_predictor(self) -> None:
         """Sets up the predictor."""
         raise NotImplementedError