is_compiled_with_cinn

paddle.device. is_compiled_with_cinn ( ) [source]

Whether this whl package can be used to run the model on CINN.

Returns

True if CINN is currently available, otherwise False.

Return type

Bool

Examples

>>> import paddle
>>> support_cinn = paddle.device.is_compiled_with_cinn()