Add the possibility to provide grad_op
to the optimization routine stadv.optimization.lbfgs
, preventing growth of the graph. Not providing grad_op
to this optimization routine will result in a memory leak in case of repeated calls.
Add the possibility to provide grad_op
to the optimization routine stadv.optimization.lbfgs
, preventing growth of the graph. Not providing grad_op
to this optimization routine will result in a memory leak in case of repeated calls.