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 (bool): True if CINN is currently available, otherwise False.

Examples

import paddle
support_cinn = paddle.device.is_compiled_with_cinn()