Mercurial > repos > public > sbplib_julia
diff src/LazyTensors/LazyTensors.jl @ 1360:f59228534d3a tooling/benchmarks
Merge default
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Sat, 20 May 2023 15:15:22 +0200 |
parents | a922aa69eb83 |
children | dfb43fdac9fc 8b64df6cadba |
line wrap: on
line diff
--- a/src/LazyTensors/LazyTensors.jl Fri Apr 28 09:00:35 2023 +0200 +++ b/src/LazyTensors/LazyTensors.jl Sat May 20 15:15:22 2023 +0200 @@ -30,6 +30,7 @@ # Composing lazy tensors Base.:∘(s::LazyTensor, t::LazyTensor) = TensorComposition(s,t) +Base.:∘(s::TensorComposition, t::LazyTensor) = s.t1∘(s.t2∘t) # Outer products of tensors ⊗(a::LazyTensor, b::LazyTensor) = LazyOuterProduct(a,b)