-
Couldn't load subscription status.
- Fork 2
Open
Description
Either that or fix the effects upstream. The effects infer horribly:
julia> Base.infer_effects(reshape, Tuple{Vector{Float32}, Tuple{Int}})
(!c,!e,!n,!t,!s,!m,!u,+o,!r)
julia> Base.infer_effects(reshape, Tuple{Vector{Float32}, Tuple{Int, Colon}})
(!c,!e,!n,!t,!s,!m,!u,!o,!r)
julia> Base.infer_effects(reshape, Tuple{Vector{Float32}, Tuple{Colon, Int}})
(!c,!e,!n,!t,!s,!m,!u,!o,!r)Even constprop doesn't seem to be able to help:
julia> Base.infer_effects((x -> reshape(x, (3,))), Tuple{Vector{Float32}})
(!c,!e,!n,!t,!s,!m,!u,+o,!r)
julia> Base.infer_effects((x -> reshape(x, (3, :))), Tuple{Vector{Float32}})
(!c,!e,!n,!t,!s,!m,!u,!o,!r)
julia> Base.infer_effects((x -> reshape(x, (:, 3))), Tuple{Vector{Float32}})
(!c,!e,!n,!t,!s,!m,!u,!o,!r)Metadata
Metadata
Assignees
Labels
No labels