Skip to content

Commit

Permalink
Merge pull request #2052 from FluxML/bc/restore-private-fns
Browse files Browse the repository at this point in the history
Restore some private functions
  • Loading branch information
ToucheSir authored Aug 28, 2022
2 parents 39fe9f9 + 6fddaf9 commit 0840625
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/deprecations.jl
Original file line number Diff line number Diff line change
Expand Up @@ -80,3 +80,5 @@ Base.@deprecate_binding RADAM RAdam
Base.@deprecate_binding OADAM OAdam
Base.@deprecate_binding ADAGrad AdaGrad
Base.@deprecate_binding ADADelta AdaDelta

@deprecate rng_from_array() default_rng_value()
3 changes: 3 additions & 0 deletions src/utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -520,6 +520,9 @@ function _create_bias(weights::AbstractArray, bias::AbstractArray, dims::Integer
bias
end

# TODO figure out whether we want to document or deprecate this
const create_bias = _create_bias


# Other

Expand Down

0 comments on commit 0840625

Please sign in to comment.