Skip to content

[Docs] Add docstrings to public pipeline and model base classes#17895

Open
robot010 wants to merge 1 commit intoPaddlePaddle:mainfrom
robot010:docs/add-docstrings-public-api
Open

[Docs] Add docstrings to public pipeline and model base classes#17895
robot010 wants to merge 1 commit intoPaddlePaddle:mainfrom
robot010:docs/add-docstrings-public-api

Conversation

@robot010
Copy link
Copy Markdown

@robot010 robot010 commented Apr 5, 2026

Add Google-style docstrings to PaddleOCR, PPStructureV3, PaddleOCRVL, PaddleXPipelineWrapper, and PaddleXPredictorWrapper. Covers constructor parameters, usage examples, and predict_iter/predict return documentation.

Add Google-style docstrings to PaddleOCR, PPStructureV3, PaddleOCRVL,
PaddleXPipelineWrapper, and PaddleXPredictorWrapper. Covers constructor
parameters, usage examples, and predict_iter/predict return documentation.

Co-Authored-By: Botao Deng <dengbotaoo@gmail.com>
@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Apr 5, 2026

CLA assistant check
All committers have signed the CLA.

@paddle-bot
Copy link
Copy Markdown

paddle-bot bot commented Apr 5, 2026

Thanks for your contribution!

@Bobholamovic
Copy link
Copy Markdown
Member

Thank you for the contribution! I noticed that some parameter descriptions in the docstrings seem to contain inaccuracies or mismatches with the actual implementation. Could you please take another look and verify them? Also, the PaddleOCRVL class corresponds to the broader PaddleOCR-VL series rather than only the first generation, so it might be better to clarify that in the description as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants