Add rrule for spdiagm #10
Annotations
1 error and 3 warnings
|
src/rulesets/SparseArrays/sparsematrix.jl#L141
[JuliaFormatter] reported by reviewdog 🐶
Raw Output:
src/rulesets/SparseArrays/sparsematrix.jl:141:-
src/rulesets/SparseArrays/sparsematrix.jl:142:-function rrule(::typeof(spdiagm), m::Integer, n::Integer, kv::Pair{<:Integer,<:AbstractVector}...)
src/rulesets/SparseArrays/sparsematrix.jl:143:-
src/rulesets/SparseArrays/sparsematrix.jl:152:+function rrule(
src/rulesets/SparseArrays/sparsematrix.jl:153:+ ::typeof(spdiagm), m::Integer, n::Integer, kv::Pair{<:Integer,<:AbstractVector}...
src/rulesets/SparseArrays/sparsematrix.jl:154:+)
|
test/rulesets/SparseArrays/sparsematrix.jl#L35
[JuliaFormatter] reported by reviewdog 🐶
Raw Output:
test/rulesets/SparseArrays/sparsematrix.jl:35:- ∂a_fd, ∂b_fd, ∂c_fd = j′vp(_fdm, (a, b, c) -> spdiagm(0 => a, 1 => b, 0 => c), ȳ, a, b, c)
test/rulesets/SparseArrays/sparsematrix.jl:35:+ ∂a_fd, ∂b_fd, ∂c_fd = j′vp(
test/rulesets/SparseArrays/sparsematrix.jl:36:+ _fdm, (a, b, c) -> spdiagm(0 => a, 1 => b, 0 => c), ȳ, a, b, c
test/rulesets/SparseArrays/sparsematrix.jl:37:+ )
|
test/rulesets/SparseArrays/sparsematrix.jl#L56
[JuliaFormatter] reported by reviewdog 🐶
Raw Output:
test/rulesets/SparseArrays/sparsematrix.jl:56:- ∂a_fd, ∂b_fd, ∂c_fd = j′vp(_fdm, (a, b, c) -> spdiagm(M, N, 0 => a, 1 => b, 0 => c), ȳ, a, b, c)
test/rulesets/SparseArrays/sparsematrix.jl:58:+ ∂a_fd, ∂b_fd, ∂c_fd = j′vp(
test/rulesets/SparseArrays/sparsematrix.jl:59:+ _fdm, (a, b, c) -> spdiagm(M, N, 0 => a, 1 => b, 0 => c), ȳ, a, b, c
test/rulesets/SparseArrays/sparsematrix.jl:60:+ )
|
The logs for this run have expired and are no longer available.
Loading