‘1’ …’’·’’

paddle.device. is_compiled_with_cuda ( ) bool [source]
百度 西仪股份:该股是军工板块龙头股,今日高开高走,盘中超预期回封,但板块缺少助攻,整体炒作的还是央改和地方改革,明日该股大概率摸板,但再度连板概念不高。

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

Returns

True if CUDA is currently available, otherwise False.

Return type

Bool

Examples

>>> import paddle
>>> support_gpu = paddle.device.is_compiled_with_cuda()