[ 仅 API 调用方式不一致 ]transformers.utils.add_start_docstrings_to_model_forward
transformers.utils.add_start_docstrings_to_model_forward
transformers.utils.add_start_docstrings_to_model_forward(*docstr)
paddleformers.trainer.utils.add_start_docstrings_to_model_forward
paddleformers.trainer.utils.add_start_docstrings_to_model_forward(*docstr)
两者功能一致,用于添加公共的前向传播文档字符串。