Unfortunately, the knet.jl intro video from the 2017 Julia Conf seems to be missing audio for at least half of the talk…
One thing I noticed was that there was a slide that defined a function using an @knet macro:
@knet function f(x1,x2)
return relu(x1) + x1.*x2 - soft(x2)
end
But when I tried this in the REPL:
julia> using Knet
julia> @knet function f(x1,x2)
return relu(x1) + x1.*x2 - soft(x2)
end
ERROR: UndefVarError: @knet not defined
Is the @knet macro deprecated? If so what is used now?