Files
NexQuant/rdagent/core/evaluation.py
T

16 lines
339 B
Python
Raw Normal View History

2024-06-14 12:59:44 +08:00
from abc import ABC, abstractmethod
from rdagent.core.experiment import Task, Implementation
2024-06-14 12:59:44 +08:00
class Evaluator(ABC):
@abstractmethod
def evaluate(
self,
target_task: Task,
implementation: Implementation,
gt_implementation: Implementation,
2024-06-14 12:59:44 +08:00
**kwargs,
):
raise NotImplementedError