set_to_zero!!
overhead
#552
Labels
enhancement (performance)
Would reduce the time it takes to run some bit of the code
8000
set_to_zero!!
overhead
#552
The overhead of
set_to_zero!!
appears to be non-trivial on the DPPL examples @penelopeysm implemented for TuringLang/DynamicPPL.jl#882. This is probably not a problem in general, but it does suggest that we ought to avoid callingset_to_zero!!
on arguments whose gradients are not required.The text was updated successfully, but these errors were encountered: