Skip to content

Commit

Permalink
Merge pull request #938 from FluxML/dg/size
Browse files Browse the repository at this point in the history
nograd `sizehint!`
  • Loading branch information
DhairyaLGandhi authored Mar 31, 2021
2 parents 13b6cd2 + 7868714 commit fef5b43
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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.6.7"
version = "0.6.8"

[deps]
AbstractFFTs = "621f4979-c628-5d54-868e-fcf4e3e8185c"
Expand Down
2 changes: 1 addition & 1 deletion src/lib/array.jl
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ using Distributed: pmap, AbstractWorkerPool
@adjoint Array(xs::AbstractArray) = Array(xs), ȳ -> (ȳ,)
@adjoint Array(xs::Array) = Array(xs), ȳ -> (ȳ,)

@nograd ones, zeros, Base.OneTo, Colon(), one, zero
@nograd ones, zeros, Base.OneTo, Colon(), one, zero, sizehint!

@adjoint Base.vect(xs...) = Base.vect(xs...), Δ ->...,)

Expand Down

2 comments on commit fef5b43

@DhairyaLGandhi
Copy link
Member Author

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/33269

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.6.8 -m "<description of version>" fef5b433a7035705259956e78f323ffcdbabaf35
git push origin v0.6.8

Please sign in to comment.