ocannl icon indicating copy to clipboard operation
ocannl copied to clipboard

Make small-code/computation nodes virtual even if they have many accesses (optionally)

Open lukstafi opened this issue 2 years ago • 1 comments

Currently the heuristic to make nodes virtual only considers the usage, not the cost of single use. We should at least have the option to make getter-only (axis permutation: einsum1 without summing-out axes) and dynamic indexing nodes virtual, and maybe other low-computation patterns.

lukstafi avatar May 15 '23 08:05 lukstafi

Dynamic indexing is reverted for now, but we might reintroduce it. However, this is a general suggestion about inlining.

lukstafi avatar Sep 27 '23 11:09 lukstafi