Mike J Innes

Results 57 issues of Mike J Innes

This is with CuArrays own indexing disabled. Strangely plain arrays seem to work, but not cuarrays. ``` julia> cu([1:5;])[[5,2,3]] 3-element CuArray{Float32,1}: 5.0 2.0 3.0 julia> cu([1:5;])[cu[5,2,3]] ERROR: scalar getindex is...

This package is poorly designed (it's ok, I'm allowed to say that) in that it tries to support both plain BSON and Julia data structures in one go. This creates...

For now this just writes `undefined`s as `nothing` (which works because we don't preserve non-isbits-eltypes anyway). Probably better to use a different sentinel and preserve `undefined`-ness through a roundtrip. See...

e.g. each warning should have a type and data, rather than being a string. We need this both for better display and to more declaratively test for presence/absence of warnings.

We should be able to write something like ```julia @wasm begin foo(Int, Int)::Int bar(Float64)::Bool end ``` and have this directly create a WebAssembly binary. Perhaps even wrapper code so that...

It would be easy to get e.g. `unsafe_load` working over WebAssembly's linear memory. With that we can start prototyping array operations.

I think this needs to happen at the level of Julia's IR. i.e. if a local variable contains a `Tuple{Float64,Float64}`, lower that to two local variables. We'll also need to...

I'm curious if you'd be interested in making Yota compatible with Flux layers and optimisers; then Yota could be used in place of Tracker for models without control flow. Zygote...

Right now this package relies pretty heavily on scripts in `src` which take command line arguments. Ideally, these should all become normal function calls. Using the package might look like...

https://github.com/tejank10/AlphaGo.jl/blob/c2b809c65431f54110dabd042724a364ed03f14e/src/board.jl#L21-L26 It would be better to initialise these with arguments somehow, either when we first construct the Go board, or with some kind of `GoRules` struct that defines these parameters.