未验证 提交 a4c898cf 编写于 作者: L LielinJiang 提交者: GitHub

[Cherrypick 2.3] fix decode jpeg example code (#42752)

* fix decode_jpeg example code

* fix decode_jpeg example code
上级 0fb66355
......@@ -895,7 +895,10 @@ def decode_jpeg(x, mode='unchanged', name=None):
Examples:
.. code-block:: python
# required: gpu
import cv2
import numpy as np
import paddle
fake_img = (np.random.random(
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册