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.
1 parent 7f6af69 commit 113c47bCopy full SHA for 113c47b
ext/NNlibEnzymeExt.jl
src/NNlib.jl
@@ -123,11 +123,9 @@ include("impl/depthwiseconv_im2col.jl")
123
include("impl/pooling_direct.jl")
124
include("deprecations.jl")
125
126
-function __init__()
127
- @static if !isdefined(Base, :get_extension)
128
- @require Enzyme="7da242da-08ed-463a-9acd-ee780be4f1d9" begin
129
- include("../ext/NNlibEnzymeExt.jl")
130
- end
+@init @static if !isdefined(Base, :get_extension)
+ @require Enzyme="7da242da-08ed-463a-9acd-ee780be4f1d9" begin
+ include("../ext/NNlibEnzymeExt/NNlibEnzymeExt.jl")
131
end
132
133
0 commit comments