Skip to content

Commit

Permalink
restore some private functions
Browse files Browse the repository at this point in the history
These were breaking downstream tests on master
  • Loading branch information
ToucheSir committed Aug 28, 2022
1 parent 6c747f3 commit 6fddaf9
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 6fddaf9

Please sign in to comment.