Fredrik Bagge Carlson

Results 317 issues of Fredrik Bagge Carlson

I just found this highly interesting package, and would like to learn from your handling of conditionals to enhance what is essentially a vectorization package of mine. Background: The package...

Ther following use of `mapslices` tries to call a non-existing Array constructor: ```julia using Flux, CuArrays julia> Z = gpu(Conv((3,3), 1=>1))(gpu(randn(5,5,1,1))) Tracked 3×3×1×1 CuArray{Float32,4}: [:, :, 1, 1] = 1.85926...

```julia using Flux using Flux: param, Params, params, gradient A = param(randn(5,2)) y = param(randn(5)) ls(A,y) = A\y julia> ls(A,y) Tracked 2-element Array{Float64,1}: -0.3218743888384424 -3.2253094136376728 julia> gradient(()->sum(ls(A,y)), params(A,y)) ERROR: DimensionMismatch("matrix...

```julia julia> using SliceMap, Flux julia> mapcols(norm, gpu(Flux.param(randn(2,2)))) Tracked 1×2 Array{Float32,2}: 1.98362 0.443408 julia> mapcols(norm, gpu(randn(2,2))) 1×2 Array{Float32,2}: 0.891582 3.15292 ``` Possibly because norm returns a scalar?

This is a problem since the code below will not run on the GPU (unless one allows scalar operations which is not ideal) ```julia julia> using SliceMap, Flux julia> slicemap(norm,...

The indexing behavior is different from static vector and a normal vector when adding extra dimensions ```julia julia> a = @SVector randn(2) 2-element SVector{2, Float64} with indices SOneTo(2): 1.1055415819376984 -1.376116084168465...

Here's a fun one `UUID` belongs to base ``` julia> parentmodule(Base.UUID) Base ``` but is not exported by Base ``` julia> UUID ERROR: UndefVarError: `UUID` not defined ``` However, it...

Hello! I just tried this package to see if it could be useful for automatic stability proofs of nonlinear feedback systems using the circle criterion. I'm not sure if I'm...

Hello and thanks for this awesome package! This is more of a question than an issue, I'd be interested in the feasibility of using a linear system solver implemented in...

@juliaregistrator register