ExpandingMan

Results 118 issues of ExpandingMan

There currently seem to be quite a few issues with StaticArrays on many different back-ends. In most cases this is inefficiency due to inappropriate allocations (sometimes quite severe), in other...

backend

This is an alternate version of #1733 as requested there. This version *should* be non-breaking in terms of API (though I'll still have to work through old julia versions if...

The code for gradient and jacobian are a bit messy right now. This PR is an attempt to move toward a clear consistent interface. Here are some questions about this...

The recent changes from [this commit](https://github.com/EnzymeAD/Enzyme.jl/commit/2b681d54234190fdcf70b2844af8cd33700ee0be) are causing `jacobian` to allocate and return `Array` objects even when passed `SArray` ```julia ◖◗ x = @SVector ones(4); ◖◗ Enzyme.jacobian(Forward, ξ -> 2...

Tridactyl version: 1.21.1pre6005-83b1f7c7 Firefox version: Mozilla Firefox 91.0.1 Operating system: linux The editor isn't working quite right in some sites. In element.io, entering edit mode from the main message panel...

enhancement
good first issue
P3

```julia using Enzyme using Random using Lux, Optimisers, MLUtils testmodel() = Chain( Dense(4=>8, relu), Dense(8=>8, relu), Dense(8=>2), ) testdata() = (randn(4, 256), randn(2, 256)) dl = DataLoader(testdata(), batchsize=6) ℓ =...

This is a particularly inelegant solution to #1821. What I do here for `Symmetric` and `Hermitian` is take a redundant basis. This looks a bit strange because I both set...

```julia using Enzyme, SparseArrays, Statistics function bc0_test_function(ps) z = view(ps, 26:30) C = Matrix{Float64}(undef, 5, 1) C .= z return C[1] end @noinline function bc1_bcs2(x, y) x != y &&...