How to deal with this when I used the Optim.jl and Zygote.jl packages for optimization, that the function used OMEinsum.jl.
ERROR: LoadError: MethodError: no method matching loop_einsum(::EinCode{((), (2, 1, 3)),(1, 2, 3)}, ::Tuple{Float64,Array{Float64,3}}, ::IndexSize{6,Int64})
Closest candidates are:
loop_einsum(::EinCode{ixs,iy}, !Matched::Tuple{Vararg{AbstractArray{var"#s17",M} where var"#s17" where M,N}}, ::Any) where {N, T, ixs, iy}