willow-ahrens / Finch.jl

Sparse tensors in Julia and more! Datastructure-driven array programing language.
http://willowahrens.io/Finch.jl/
MIT License
157 stars 15 forks source link

Add an extrusion interface for lazy tensors #469

Closed willow-ahrens closed 5 months ago

willow-ahrens commented 5 months ago

I think we can probably overload getindex for combinations of Nothing and Colon types. The idea is to make it so that

A[:, nothing, :] works for both lazy and eager tensors.

willow-ahrens commented 5 months ago

Closed by https://github.com/willow-ahrens/Finch.jl/pull/479