Class CpuPassStrategy¶
Defined in File paddle_pass_builder.h
Inheritance Relationships¶
Base Type¶
public paddle::PassStrategy
(Class PassStrategy)
Class Documentation¶
-
class
paddle
::
CpuPassStrategy
: public paddle::PassStrategy¶ The CPU passes controller, it is used in AnalysisPredictor with CPU mode.
Public Functions
-
CpuPassStrategy
()¶ Default constructor of CpuPassStrategy.
-
CpuPassStrategy
(const CpuPassStrategy &other)¶ Construct by copying another CpuPassStrategy object.
- Parameters
[in] other
: The CpuPassStrategy object we want to copy.
-
~CpuPassStrategy
() = default¶ Default destructor.
-
void
EnableCUDNN
() override¶ Enable the use of cuDNN kernel.
-
void
EnableMKLDNN
() override¶ Enable the use of MKLDNN.
-
void
EnableMkldnnQuantizer
() override¶ Enable MKLDNN quantize optimization.
-