Loading [Contrib]/a11y/accessibility-menu.js
\u200E
is_compiled_with_npu
-
paddle.fluid.framework.
is_compiled_with_npu
(
)
[source]
-
Whether this whl package can be used to run the model on NPU.
Returns (bool): support npu or not.
Examples
import paddle.fluid as fluid
support_npu = fluid.is_compiled_with_npu()