You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Following is an example from Knet test scripts. Julia4 is >2x faster both in the first run and in the second run of testall(). Anybody with more insight into Julia have any idea why?
using AutoGrad
function testall()
for f in (sum, prod, maximum, minimum, sumabs, sumabs2)
g = grad(f)
for t in (Float32, Float64)
for n in (1,(1,1),2,(2,1),(1,2),(2,2))
d = g(rand(t,n))
end
end
end
end
@time testall()
@time testall()
The text was updated successfully, but these errors were encountered:
Following is an example from Knet test scripts. Julia4 is >2x faster both in the first run and in the second run of
testall()
. Anybody with more insight into Julia have any idea why?The text was updated successfully, but these errors were encountered: