Adding a Primitive22 days ago
Adding a Primitive: Practical Example | Step 1: Define the Primitive | Special case: primitives with 0 dynamic inputs | Shortcut helpers for common shapes | Step 2: Add the StableHLO Rule | Step 3: Add the Reverse Rule | Optional: alternative-forward rule | Optional: a quickr rule | Step 4: Verify the Registration | Step 5: Add an nv_ API Function | Using Your Primitive | Contributing to the Package | File Organization | Testing | Higher-Order Primitives
anvl 0.3.0Sebastian Fischer extending_primitive.Rmd