We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
apply(tfm, ::Tuple)
1 parent 178786e commit 8d37dc0Copy full SHA for 8d37dc0
src/base.jl
@@ -73,11 +73,7 @@ getrandstate(::Transform) = nothing
73
Apply `tfm` to an `item` or a tuple `items`.
74
75
"""
76
-apply(tfm::Transform, items) = apply(tfm, items; randstate = getrandstate(tfm))
77
-
78
79
80
-function apply(tfm::Transform, items::Tuple; randstate = getrandstate(tfm))
+function apply(tfm::Transform, items; randstate = getrandstate(tfm))
81
map(item -> apply(tfm, item; randstate = randstate), items)
82
end
83
0 commit comments