Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions exir/backend/backend_details.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,3 +73,12 @@ def preprocess(
# Users should return a compiled blob - a binary that can run the desired
# program in the backend.
pass

@staticmethod
# it's a virtual method and inheritant class needs to implement the actual function
@abstractmethod
def preprocess_all(
edge_programs: Dict[str, List[ExportedProgram]],
compile_specs: Dict[str, List[List[CompileSpec]]],
) -> Dict[str, list[PreprocessResult]]:
pass
Loading