set_cpu_mode
Applicability
Product |
Supported |
|---|---|
x |
|
x |
|
√ |
|
√ |
|
√ |
Description
Schedules AMCT weight quantization to the CPU.
Prototype
1 | set_cpu_mode() |
Parameters
None
Returns
None
Restrictions
If neither the set_gpu_mode API nor the set_cpu_mode API is called, AMCT weight quantization is scheduled to the CPU.
Example
1 2 | import amct_caffe as amct amct.set_cpu_mode() |
Parent topic: Common APIs