mirror of
https://github.com/NicolasBohn/NexQuant.git
synced 2026-07-29 08:27:43 +00:00
1b31bcd2c2
* refine class design and inheritance first version code * fix all typos --------- Co-authored-by: xuyang1 <xuyang1@microsoft.com>
16 lines
339 B
Python
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
|