要理解 @adjoint 首先要先理解更为底层的函数 pullback 。 gradient 实际上就是 pullback 的语法糖(syntactic sugar)。 julia> y, back = Zygote.
確定! 回上一頁