mirror of
https://github.com/NicolasBohn/NexQuant.git
synced 2026-08-02 09:57:44 +00:00
17 lines
364 B
Python
17 lines
364 B
Python
|
|
from abc import ABC, abstractmethod
|
||
|
|
from rdagent.core.task import (
|
||
|
|
TaskImplementation,
|
||
|
|
BaseTask,
|
||
|
|
)
|
||
|
|
|
||
|
|
class Evaluator(ABC):
|
||
|
|
@abstractmethod
|
||
|
|
def evaluate(
|
||
|
|
self,
|
||
|
|
target_task: BaseTask,
|
||
|
|
implementation: TaskImplementation,
|
||
|
|
gt_implementation: TaskImplementation,
|
||
|
|
**kwargs,
|
||
|
|
):
|
||
|
|
raise NotImplementedError
|