Loading [Contrib]/a11y/accessibility-menu.js
\u200E
|EN
v1.8
目录

Class CpuPassStrategy

Inheritance Relationships

Base Type

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.

inline explicit CpuPassStrategy(const CpuPassStrategy &other)

Construct by copying another CpuPassStrategy object.

Parameters

other[in] The CpuPassStrategy object we want to copy.

virtual ~CpuPassStrategy() = default

Default destructor.

virtual void EnableCUDNN() override

Enable the use of cuDNN kernel.

virtual void EnableMKLDNN() override

Enable the use of MKLDNN.

virtual void EnableMkldnnQuantizer() override

Enable MKLDNN quantize optimization.

该文档内容对你有帮助么?
Edit on Github
文档反馈
Class CpuPassStrategy — Paddle-Inference documentation

Class CpuPassStrategy

Inheritance Relationships

Base Type

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.

inline explicit CpuPassStrategy(const CpuPassStrategy &other)

Construct by copying another CpuPassStrategy object.

Parameters

other[in] The CpuPassStrategy object we want to copy.

virtual ~CpuPassStrategy() = default

Default destructor.

virtual void EnableCUDNN() override

Enable the use of cuDNN kernel.

virtual void EnableMKLDNN() override

Enable the use of MKLDNN.

virtual void EnableMkldnnQuantizer() override

Enable MKLDNN quantize optimization.