SIGN IN SIGN UP

Arm backend: Add ComputeConstantOpsAOT pass (#9504)

Operators that output tensors based on constant args
are pre-computed and added as buffers.
- The pass currently supports full, arange, linspace, and eye.
- Remove some logic for full now handled by the pass
- Rename FuseConstantOpsPass to FuseConstantArgsPass and do minor
improvements

Fix retracing in FuseViewCopyTransform    
Since the pass can change shapes of ops,
the graph needs to be retraced to show this in node.meta["val"].

Signed-off-by: Erik Lundell <erik.lundell@arm.com>
E
Erik Lundell committed
012f120148cea334ca5f25d8588643efd2ec74bf
Parent: 766bbdc
Committed by GitHub <noreply@github.com> on 3/25/2025, 10:22:12 AM