Skip to main content
在 Manus 中运行任何 Skill
一键导入
$pwd:

port-model

// Port a PyTorch model to use pyrefly's tensor shape type system (Tensor[B, C, H, W], Dim[T]). Use this skill whenever the user wants to add shape annotations to a PyTorch model, type a model with tensor dimensions, port a model to use shape tracking, or annotate model forward methods with tensor shapes. Also use when the user mentions tensor shape ports, Dim types for PyTorch, or pyrefly shape checking on a model file. Invoke BEFORE starting any model port — the skill's gated workflow prevents common failure modes.

$ git log --oneline --stat
stars:6,471
forks:380
updated:2026年5月22日 00:18
文件资源管理器
5 个文件
SKILL.md
readonly