Add Torch Shapes Example

Use when adding a new PyTorch model to Pyrefly's shape-tracking example corpus under tensor-shapes/pyrefly-torch-stubs/examples — i.e. importing a model as a tested, corpus-quality reference port. This is maintainer-facing fbsource work. For porting your own model elsewhere, use the porting skill directly; for fixing a wrong/missing shape rule, use modify-shaped-array-dsl.

facebook 6d0fd90 4.2 KB Updated

File contents

facebook/pyrefly/tree/main/.claude/skills/add-torch-shapes-example commit 6d0fd909c6

Frequently asked questions

npx skillmds@latest add facebook/add-torch-shapes-example