afe.apis.compilation_jobο
The API for controlling a compilation job. This API is intended for use in a user-defined module that is passed to the command-line interface.
The recommended usage is to pass a CompilationJob to set_compilation_job. Parameters that direct compilation are incorporated into the CompilationJob. The job will be read by the command-line driver.
Classesο
A specification of how to calibrate, quantize, evaluate, |
Functionsο
|
Use the given CompilationJob to control compilation. If called multiple |
Module Contentsο
- class afe.apis.compilation_job.CompilationJob[source]ο
A specification of how to calibrate, quantize, evaluate, and compile a model.
- preprocess_transforms: List[afe.apis.transform.Transform][source]ο
- postprocess_transforms: List[afe.apis.transform.Transform][source]ο
- afe.apis.compilation_job.set_compilation_job(job: CompilationJob[Any]) None [source]ο
Use the given CompilationJob to control compilation. If called multiple times, the job that is passed to the final call will be used.