Skip to content

Commit 8f7da4d

Browse files
author
Evgeny Tankhilevich
committed
remove kwargs grads
1 parent 0a92f38 commit 8f7da4d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/lib/array.jl

+1-2
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,7 @@ end
6565

6666
@adjoint function reverse(x::AbstractArray, args...; kwargs...)
6767
_reverse(t) = reverse(t, args...; kwargs...)
68-
_nothings(t) = map(_->nothing, keys(t))
69-
_reverse(x), Δ->(_reverse(Δ), _nothings(args)..., _nothings(kwargs)...)
68+
_reverse(x), Δ->(_reverse(Δ), map(_->nothing, args)...)
7069
end
7170

7271
@adjoint permutedims(xs) = permutedims(xs), Δ -> (permutedims(Δ),)

0 commit comments

Comments
 (0)