Open ccshan opened 1 year ago
Call unsqueeze and permute ahead of time in LookupInfo.view, then just index into the result in view_lookup instead of lookup
unsqueeze
permute
LookupInfo.view
view_lookup
lookup
This speeds up https://github.com/diprism/fggs/blob/main/test/test_sum_product.py by ~10%
Thanks! I'll take a look and try to get this merged soon.
Call
unsqueeze
andpermute
ahead of time inLookupInfo.view
, then just index into the result inview_lookup
instead oflookup
This speeds up https://github.com/diprism/fggs/blob/main/test/test_sum_product.py by ~10%