Skip to content

Commit

Permalink
Merge #750
Browse files Browse the repository at this point in the history
750: Bump patch version r=DhairyaLGandhi a=DhairyaLGandhi

cc @racinmat 

Co-authored-by: Dhairya Gandhi <[email protected]>
  • Loading branch information
bors[bot] and Dhairya Gandhi authored Jul 31, 2020
2 parents 5ac0d40 + 9c9536a commit 8d4323a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name = "Zygote"
uuid = "e88e6eb3-aa80-5325-afca-941959d7151f"
version = "0.5.3"
version = "0.5.4"

[deps]
AbstractFFTs = "621f4979-c628-5d54-868e-fcf4e3e8185c"
Expand Down
6 changes: 0 additions & 6 deletions src/lib/nnlib.jl
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,6 @@ end
selu.(x), Δ -> (nothing, dselu.(x) .* Δ)
end

dtanh(x) = 1 - tanh(x)^2

@adjoint function Base.Broadcast.broadcasted(::typeof(tanh), x::Numeric)
tanh.(x), Δ -> (nothing, dtanh.(x) .* Δ)
end

@adjoint function σ(x::Real)
y = σ(x)
return y, Δ ->* y * (1 - y),)
Expand Down

2 comments on commit 8d4323a

@DhairyaLGandhi
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator register()

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/18748

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.5.4 -m "<description of version>" 8d4323a0e6af0789faf0aa943b6b140a5605088e
git push origin v0.5.4

Please sign in to comment.