willow-ahrens / Finch.jl

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

equality between swizzle and tensor not working #530

Closed willow-ahrens closed 2 months ago

willow-ahrens commented 2 months ago
    A_tns = Tensor(Dense(Dense(Dense(Element(0.0)))), zeros(3, 3, 3))
    A_sw = swizzle(A_tns, 2, 3, 1)
    A_tns == A_sw #fails