Skip to main content

add-shape-types-to-torch-model

Port a PyTorch model to use pyrefly's tensor shape type system (Tensor[[B, C, H, W]], Int[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, Int 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.

الانتقال إلى التثبيت

معلومات المصدر

المستودع
facebook/pyrefly
آخر نشاط في المصدر
٢٧ أغسطس ٢٠٢٦ في ٠١:٢٣
لغة SKILL.md المكتشفة
الإنجليزية
النجوم
٦٬٩١٥
التفرعات
٥٠٦

خيارات التثبيت

يُحدَّد Prompt الذي يراجع المصدر أولًا بشكل افتراضي. يمكنك التبديل إلى أمر مباشر أو تنزيل نسخة محلية.

مراجعة ملفات المصدر

اقرأ SKILL.md وأي ملفات مرافقة يعرضها SkillsMP قبل أن تقرر التثبيت.