(self, input_texts: str | list[str])
| 257 | return decoded_predictions |
| 258 | |
| 259 | def predict(self, input_texts: str | list[str]): |
| 260 | tokenized_source = self._preprocess(input_texts) |
| 261 | predictions = self._infer(tokenized_source) |
| 262 | decoded_predictions = self._postprocess(predictions) |
| 263 | return decoded_predictions |
| 264 | |
| 265 | |
| 266 | class DygraphPredictor(BasePredictor): |
no test coverage detected