python-decorator
星标285
分支34
更新时间2026年6月26日 17:56
负责《Paddle API 对齐 PyTorch 项目》中 Step2 代码修改,实施『Python 装饰器』方案。通过 Python 装饰器,在 Python 层为 Paddle API 实现参数名称、参数顺序、参数类型和参数用法的重载,实现 PyTorch 风格的 API 调用,并保持 Paddle API 的向后兼容性。
· 实时索引
安装
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
想先保存到本地?可下载 RuleHub 当前索引到的 GitHub 仓库压缩包。
下载 Zip文件资源管理器2 个文件
SKILL.mdreadonly
| name | python-decorator |
| description | 负责《Paddle API 对齐 PyTorch 项目》中 Step2 代码修改,实施『Python 装饰器』方案。通过 Python 装饰器,在 Python 层为 Paddle API 实现参数名称、参数顺序、参数类型和参数用法的重载,... |
python-decorator
负责《Paddle API 对齐 PyTorch 项目》中 Step2 代码修改,实施『Python 装饰器』方案。通过 Python 装饰器,在 Python 层为 Paddle API 实现参数名称、参数顺序、参数类型和参数用法的重载,实现 PyTorch 风格的 API 调用,并保持 Paddle API 的向后兼容性。
When to use
Use this skill when the user needs help with tasks related to python decorator.
Guidelines
- Follow repository conventions in
PaddlePaddle/docs - Prefer minimal, focused changes
- Validate outputs before finishing