Files
NexQuant/rdagent/core/evaluation.py
T
Xu Yang 1b31bcd2c2 refine class design and inheritance first version code (#41)
* refine class design and inheritance first version code

* fix all typos

---------

Co-authored-by: xuyang1 <xuyang1@microsoft.com>
2024-07-02 17:58:37 +08:00

16 lines
339 B
Python

from abc import ABC, abstractmethod
from rdagent.core.experiment import Task, Implementation
class Evaluator(ABC):
@abstractmethod
def evaluate(
self,
target_task: Task,
implementation: Implementation,
gt_implementation: Implementation,
**kwargs,
):
raise NotImplementedError