Skip to content

Commit

Permalink
remove public declaration instead
Browse files Browse the repository at this point in the history
  • Loading branch information
simeonschaub committed Dec 27, 2024
1 parent daee421 commit 3a460b8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
10 changes: 5 additions & 5 deletions src/deprecations.jl
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Recursive Operations --> Functors.fmap
@deprecate recursive_add!!(x, y) Functors.fmap(
Utils.add!!, x, y; exclude=MLDataDevices.isleaf
) false
@deprecate recursive_make_zero(x) Functors.fmap(Utils.zero, x; exclude=MLDataDevices.isleaf) false
)
@deprecate recursive_make_zero(x) Functors.fmap(Utils.zero, x; exclude=MLDataDevices.isleaf)
@deprecate recursive_make_zero!!(x) Functors.fmap(
Utils.zero!!, x; exclude=MLDataDevices.isleaf
) false
)
@deprecate recursive_copyto!(x, y) Functors.fmap(
copyto!, x, y; exclude=MLDataDevices.isleaf
) false
@deprecate recursive_map(f, args...) Functors.fmap(f, args...; exclude=MLDataDevices.isleaf) false
)
@deprecate recursive_map(f, args...) Functors.fmap(f, args...; exclude=MLDataDevices.isleaf)
4 changes: 0 additions & 4 deletions src/helpers/recursive_ops.jl
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,3 @@ For the following types it directly defines recursion rules:
correctness of this implementation for specific usecases.
"""
function recursive_map end

@compat(public,
(recursive_add!!, recursive_copyto!, recursive_eltype,
recursive_make_zero, recursive_map, recursive_make_zero!!))

0 comments on commit 3a460b8

Please sign in to comment.