Skip to content

[CodeStyle][F401] remove unused imports in python_paddle/inference_device_profiler_text_metric_incubate_quantization_libs_audio_amp_jit. - #46762

Merged
luotao1 merged 2 commits into
PaddlePaddle:developfrom
cattidea:F401/fix/python_paddle-inference_device_profiler_text_metric_incubate_quantization_libs_audio_amp_jit
Oct 12, 2022
Merged

luotao1 merged 2 commits into
PaddlePaddle:developfrom
cattidea:F401/fix/python_paddle-inference_device_profiler_text_metric_incubate_quantization_libs_audio_amp_jit

Conversation

@Yulv-git

@Yulv-git Yulv-git commented Oct 6, 2022 •

Copy link
Copy Markdown
Contributor

PR types

Others

PR changes

Others

Describe

修复 python/paddle/inference/、 python/paddle/device/、 python/paddle/profiler/、 python/paddle/text/ 、python/paddle/metric/、 python/paddle/incubate/、 python/paddle/quantization/、 python/paddle/libs/ 、python/paddle/audio/、 python/paddle/amp/ 、python/paddle/jit/目录 F401 unused import 存量 python 代码

autoflake --in-place --remove-all-unused-imports --ignore-pass-after-docstring --exclude=__init__.py --recursive ./python/paddle/inference
autoflake --in-place --remove-all-unused-imports --ignore-pass-after-docstring --exclude=__init__.py --recursive ./python/paddle/device
autoflake --in-place --remove-all-unused-imports --ignore-pass-after-docstring --exclude=__init__.py --recursive ./python/paddle/profiler
autoflake --in-place --remove-all-unused-imports --ignore-pass-after-docstring --exclude=__init__.py --recursive ./python/paddle/text
autoflake --in-place --remove-all-unused-imports --ignore-pass-after-docstring --exclude=__init__.py --recursive ./python/paddle/metric
autoflake --in-place --remove-all-unused-imports --ignore-pass-after-docstring --exclude=__init__.py --recursive ./python/paddle/incubate
autoflake --in-place --remove-all-unused-imports --ignore-pass-after-docstring --exclude=__init__.py --recursive ./python/paddle/quantization
autoflake --in-place --remove-all-unused-imports --ignore-pass-after-docstring --exclude=__init__.py --recursive ./python/paddle/libs
autoflake --in-place --remove-all-unused-imports --ignore-pass-after-docstring --exclude=__init__.py --recursive ./python/paddle/audio
autoflake --in-place --remove-all-unused-imports --ignore-pass-after-docstring --exclude=__init__.py --recursive ./python/paddle/amp
autoflake --in-place --remove-all-unused-imports --ignore-pass-after-docstring --exclude=__init__.py --recursive ./python/paddle/jit

Related links

…vice_profiler_text_metric_incubate_quantization_libs_audio_amp_jit.

Signed-off-by: Yulv-git <yulvchi@qq.com>
@paddle-bot

paddle-bot Bot commented Oct 6, 2022

Copy link
Copy Markdown

你的PR提交成功,感谢你对开源项目的贡献!
请关注后续CI自动化测试结果,详情请参考Paddle-CI手册。
Your PR has been submitted. Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

Signed-off-by: Yulv-git <yulvchi@qq.com>

@SigureMo SigureMo left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM~

@luotao1 luotao1 self-assigned this Oct 10, 2022

@raindrops2sea raindrops2sea left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@luotao1
luotao1 merged commit 6977df8 into PaddlePaddle:develop Oct 12, 2022
@SigureMo
SigureMo deleted the F401/fix/python_paddle-inference_device_profiler_text_metric_incubate_quantization_libs_audio_amp_jit branch October 12, 2022 03:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

contributor External developers

Projects

None yet

4 participants