[CodeStyle][py2][U008] remove unnecessary args in super()
for some example code
#47643
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PR types
Others
PR changes
Others
Describe
#47549 遗留的几个示例代码中未解决的
paddle.distributed.spawn
:同 [CodeStyle][py2] remove future import in docstring #46890paddle.jit.TracedLayer.trace
:static_layer.save_inference_model 使用方法错误,该方法无dirname
参数,应当是误使用了paddle.fluid.io.save_inference_model
的参数,修改后 2.3.2 版本可以运行成功paddle.jit.TracedLayer.set_strategy
paddle.jit.TracedLayer.save_inference_model
后三个
paddle.jit.TracedLayer
上的方法在本地安装 paddle 2.3.2 运行成功,paddle 2.4.0rc0 则都会在out_dygraph, static_layer = paddle.jit.TracedLayer.trace(layer, inputs=[in_var])
处报错,怀疑是 2.4.0 分支(包括 develop)出了问题Related links
super()
#47549